Skip to content

Commit c78b5bf

Browse files
committed
Update CI
1 parent a7c0139 commit c78b5bf

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -56,34 +56,31 @@ jobs:
5656
run: pip3 install pyinstaller
5757

5858
- name: Build for Windows
59-
run: pyinstaller spec\Windows.spec && pyinstaller spec\Windows_dir.spec && pyinstaller spec\debug_dump.spec
59+
run: pyinstaller spec\Windows.spec && pyinstaller spec\Windows_dir.spec && pyinstaller spec\debug_dump.spec && pyinstaller spec\debug_dump_dir.spec
6060

6161
- uses: papeloto/action-zip@v1
6262
with:
6363
files: dist/Windows/
6464
recursive: false
6565
dest: dist/Windows.zip
66+
- uses: papeloto/action-zip@v1
67+
with:
68+
files: dist/debug_dump/
69+
recursive: false
70+
dest: dist/debug_dump.zip
6671

6772
- name: Upload to Artifacts
6873
uses: actions/upload-artifact@v2
6974
with:
7075
name: Artifacts Windows
7176
path: |
7277
dist/*.exe
73-
dist/Windows.zip
78+
dist/*.zip
7479
- name: Upload to Release
7580
if: github.event_name == 'release'
7681
uses: svenstaro/upload-release-action@e74ff71f7d8a4c4745b560a485cc5fdb9b5b999d
7782
with:
7883
repo_token: ${{ secrets.GITHUB_TOKEN }}
79-
file: dist/*.exe
80-
tag: ${{ github.ref }}
81-
file_glob: true
82-
- name: Upload to Release 2
83-
if: github.event_name == 'release'
84-
uses: svenstaro/upload-release-action@e74ff71f7d8a4c4745b560a485cc5fdb9b5b999d
85-
with:
86-
repo_token: ${{ secrets.GITHUB_TOKEN }}
87-
file: dist/Windows.zip
84+
file: dist/*.*
8885
tag: ${{ github.ref }}
8986
file_glob: true

0 commit comments

Comments
 (0)