Skip to content

Commit e6cb53a

Browse files
committed
Fix packaging script for Windows: update PyInstaller command and ZIP creation process
1 parent 27cd302 commit e6cb53a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build_for_windows..yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
3636
- name: Package Application with PyInstaller
3737
run: |
38-
pyinstaller "GoExport Outro Maker.spec"
38+
pyinstaller GoExport.spec
3939
4040
- name: Copy files to dist folder
4141
run: |
@@ -49,15 +49,15 @@ jobs:
4949
name: dev-build
5050
path: dist
5151

52-
- name: Create zip of dist folder
52+
- name: Create ZIP of build
5353
run: |
54-
Compress-Archive -Path dist\* -DestinationPath dist/app.zip
54+
powershell Compress-Archive -Path dist\* -DestinationPath build.zip
5555
5656
- name: Upload Release Asset
5757
if: startsWith(github.ref, 'refs/tags/')
5858
uses: softprops/action-gh-release@v1
5959
with:
60-
files: dist/app.zip
60+
files: build.zip
6161
prerelease: ${{ startsWith(github.ref_name, 'b') }}
6262
generate_release_notes: true
6363
env:

0 commit comments

Comments
 (0)