Skip to content

pyinstaller

pyinstaller #86

Workflow file for this run

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: jcwillox/install-tool-action@v1
with:
download_url: "https://github.com/upx/upx/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: 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