Skip to content

Commit 158fa5f

Browse files
committed
fix amd64 suffix -> x64
1 parent 0b9fe8b commit 158fa5f

1 file changed

Lines changed: 7 additions & 14 deletions

File tree

.github/workflows/release.yaml

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -32,25 +32,18 @@ jobs:
3232
npm pack
3333
"
3434
35-
# x64 steps only
36-
- name: Setup Node.js
35+
# x64 build steps
36+
- name: Build and package for x64
3737
if: matrix.arch == 'x64'
3838
uses: actions/setup-node@v4
3939
with:
4040
node-version: '18'
4141
architecture: ${{ matrix.arch }}
42-
43-
- name: Install dependencies
44-
if: matrix.arch == 'x64'
45-
run: npm ci
46-
47-
- name: Build application
42+
- run: |
43+
npm ci
44+
npm run build
45+
npm pack
4846
if: matrix.arch == 'x64'
49-
run: npm run build
50-
51-
- name: Package application
52-
if: matrix.arch == 'x64'
53-
run: npm pack
5447
5548
- name: Rename package with suffix
5649
run: |
@@ -62,7 +55,7 @@ jobs:
6255
6356
# Only one job creates the release
6457
- name: Create Release
65-
if: matrix.arch == 'amd64'
58+
if: matrix.arch == 'x64'
6659
uses: marvinpinto/action-automatic-releases@latest
6760
with:
6861
repo_token: "${{ secrets.GITHUB_TOKEN }}"

0 commit comments

Comments
 (0)