File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,29 +28,31 @@ jobs:
2828 run : |
2929 npm install
3030
31- - name : build windows app
32- if : matrix.os == 'windows-latest'
33- run : |
34- npm run dist:win
35-
3631 - name : cleanup artifacts in dist
3732 if : matrix.os == 'windows-latest'
3833 run : |
3934 npx rimraf "dist/!(*.exe)"
4035 npx rimraf "dist/!(*.msi)"
4136
37+ - name : build windows app
38+ if : matrix.os == 'windows-latest'
39+ run : |
40+ npm run dist:win
41+
4242 - name : upload artifacts
4343 uses : actions/upload-artifact@v4
4444 with :
4545 name : ${{ matrix.os }}
46- path : dist
46+ path : |
47+ dist/*.exe
48+ dist/*.msi
4749
4850 - name : release
4951 uses : softprops/action-gh-release@v2
5052 if : startsWith(github.ref, 'refs/tags/')
5153 with :
5254 files : |
53- " dist/*.exe"
54- " dist/*.msi"
55+ dist/*.exe
56+ dist/*.msi
5557 env :
5658 GITHUB_TOKEN : ${{ secrets.ACTION_TOKEN }}
You can’t perform that action at this time.
0 commit comments