File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 : |
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 }}"
You can’t perform that action at this time.
0 commit comments