Skip to content

Commit 9462cd4

Browse files
committed
update: actions
1 parent 83d4b24 commit 9462cd4

1 file changed

Lines changed: 10 additions & 8 deletions

File tree

.github/workflows/main.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff 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 }}

0 commit comments

Comments
 (0)