Skip to content

Commit

Permalink
Use UPX on PyInstaller executables
Browse files Browse the repository at this point in the history
  • Loading branch information
ergrelet committed Aug 14, 2023
1 parent cbc3c78 commit 1281bd7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/pyinstaller.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,14 @@ jobs:
- name: Build PyInstaller package
run: poetry run pyinstaller unlicense.spec

- name: Compress binaries
uses: svenstaro/upx-action@v2
with:
files: |
dist/*.exe
args: --force --lzma
strip: false

- name: "Upload PyInstaller Artifact"
uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit 1281bd7

Please sign in to comment.