Skip to content

Commit

Permalink
Update pyinstaller.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
oldnapalm committed Dec 13, 2024
1 parent 82f5a9d commit cd60ead
Showing 1 changed file with 16 additions and 9 deletions.
25 changes: 16 additions & 9 deletions .github/workflows/pyinstaller.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
name: pyinstaller

on:
push:
branches:
- master
workflow_dispatch:

jobs:
build:
Expand All @@ -17,16 +15,25 @@ jobs:
with:
python-version: '3.12'

- uses: engineerd/configurator@v0.0.10
- uses: jcwillox/install-tool-action@v1
with:
name: "upx.exe"
url: "https://github.com/upx/upx/releases/download/v4.2.2/upx-4.2.2-win64.zip"
pathInArchive: "upx-4.2.2-win64/upx.exe"
repo: "upx/upx"
download_url: "/releases/download/v4.2.4/upx-4.2.4-win64.zip"
bin_path: "upx-4.2.4-win64"

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

- uses: actions/upload-artifact@v4
- uses: vimtor/action-zip@v1.2
with:
path: dist/*
files: dist
dest: zoffline-nightly.zip

- uses: WebFreak001/deploy-nightly@v3.1.0
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 cd60ead

Please sign in to comment.