forked from zoffline/zwift-offline
-
Notifications
You must be signed in to change notification settings - Fork 3
39 lines (32 loc) · 993 Bytes
/
pyinstaller.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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: jcwillox/install-tool-action@v1
with:
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: 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