Skip to content

Commit

Permalink
Actions: Move windows onedir ZIP compression to a separate step
Browse files Browse the repository at this point in the history
  • Loading branch information
WinterPhoenix committed Sep 27, 2024
1 parent 13d0c0b commit c9f0699
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ jobs:
- name: PyInstaller Build
run: ${{ runner.os == 'Windows' && 'iex ' || ''}}$(cat pyinstaller_${{ runner.os == 'Windows' && 'windows' || runner.os == 'Linux' && 'linux' || 'macos' }}.txt)

- name: PyInstaller Build (ZIP)
if: ${{ runner.os == 'Windows' }}
run: Compress-Archive "dist/GModCEFCodecFix" "GModCEFCodecFix.zip"

- name: Get Latest Release Info
id: latest-release
uses: actions/github-script@main
Expand Down
2 changes: 1 addition & 1 deletion pyinstaller_windows.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pyinstaller --add-data "LICENSE.txt;." --add-data "README.md;." --onedir GModCEFCodecFix.py --icon=GModPatchToolLogo.ico; Compress-Archive "dist/GModCEFCodecFix" "GModCEFCodecFix.zip"
pyinstaller --add-data "LICENSE.txt;." --add-data "README.md;." --onedir GModCEFCodecFix.py --icon=GModPatchToolLogo.ico

0 comments on commit c9f0699

Please sign in to comment.