Skip to content

Commit b81ca7c

Browse files
authored
Update main.yml
1 parent 90b14f8 commit b81ca7c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/main.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
name: 构建
22

33
on:
4-
push:
5-
pull_request:
64
release:
75
types: [published]
6+
pull_request:
87
workflow_dispatch:
8+
push:
99

1010
concurrency:
1111
group: build-${{ github.ref }}
@@ -41,12 +41,12 @@ jobs:
4141

4242
- name: Compress GUI contents
4343
run: |
44-
Compress-Archive -Path ./dist/* -DestinationPath gui_contents.zip
44+
Compress-Archive -Path ./dist/* -DestinationPath gui_contents-${{ matrix.os }}-${{ matrix.arch }}.zip
4545
4646
- name: Upload assets to GitHub Release
4747
if: github.event_name == 'release' && github.event.action == 'published'
4848
uses: softprops/action-gh-release@v1
4949
with:
50-
files: gui_contents.zip
50+
files: gui_contents-${{ matrix.os }}-${{ matrix.arch }}.zip
5151
env:
5252
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)