Skip to content

Commit

Permalink
Create pyinstaller.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
oldnapalm committed Dec 4, 2024
1 parent 82b1705 commit 69e2231
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/pyinstaller.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: pyinstaller

on:
workflow_dispatch:

jobs:
build:
runs-on: windows-latest
strategy:
fail-fast: false

steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'

- uses: engineerd/[email protected]
with:
name: "upx.exe"
url: "https://github.com/upx/upx/releases/download/v4.2.4/upx-4.2.4-win64.zip"
pathInArchive: "upx-4.2.4-win64/upx.exe"

- run: pip install -r requirements.txt
- run: pip install pyinstaller garth
- run: pyinstaller standalone.spec

- uses: vimtor/[email protected]
with:
files: dist
dest: zoffline-nightly.zip

- uses: WebFreak001/[email protected]
with:
upload_url: https://uploads.github.com/repos/oldnapalm/zwift-offline/releases/188899554/assets{?name,label}
release_id: 188899554
asset_path: zoffline-nightly.zip
asset_name: zoffline-nightly.zip
asset_content_type: application/zip

0 comments on commit 69e2231

Please sign in to comment.