Skip to content

Commit

Permalink
CI: zip windows release
Browse files Browse the repository at this point in the history
  • Loading branch information
cwpearson committed Jan 21, 2024
1 parent 3639068 commit bf0a6d2
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/windows-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,18 @@ jobs:
shell: bash
run: scripts/make-version.sh
- name: Build with pyInstaller
shell: bash
run: |
pyinstaller beavertails/tui.py --add-data "beavertails/static;./beavertails/static" --add-data "beavertails/beavertails.tcss;." --collect-all pulp --onefile --nowindow --noconfirm
cp dist/tui.exe dist/beavertails_win2019.exe
pyinstaller beavertails/tui.py \
--add-data "beavertails/static;./beavertails/static" \
--add-data "beavertails/beavertails.tcss;." \
--collect-all pulp \
--onefile --nowindow --noconfirm \
--name beavertails.exe
cd dist; zip -r beavertails_win2019.zip beavertails.exe
- name: Release
uses: ncipollo/release-action@v1
with:
artifacts: "dist/beavertails_win2019.exe"
artifacts: "dist/beavertails_win2019.zip"
allowUpdates: True

0 comments on commit bf0a6d2

Please sign in to comment.