mirror of
https://github.com/zoffline/zwift-offline.git
synced 2026-03-12 21:23:00 -07:00
Upload artifact
This commit is contained in:
19
.github/workflows/pyinstaller.yaml
vendored
19
.github/workflows/pyinstaller.yaml
vendored
@@ -20,24 +20,13 @@ jobs:
|
||||
- uses: engineerd/configurator@v0.0.8
|
||||
with:
|
||||
name: "upx.exe"
|
||||
url: "https://github.com/upx/upx/releases/download/v4.0.2/upx-4.0.2-win64.zip"
|
||||
pathInArchive: "upx-4.0.2-win64/upx.exe"
|
||||
url: "https://github.com/upx/upx/releases/download/v4.1.0/upx-4.1.0-win64.zip"
|
||||
pathInArchive: "upx-4.1.0-win64/upx.exe"
|
||||
|
||||
- run: pip install -r requirements.txt
|
||||
- run: pip install pyinstaller garth
|
||||
- run: pyinstaller standalone.spec
|
||||
|
||||
- uses: vimtor/action-zip@v1
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
files: dist
|
||||
dest: zoffline-nightly.zip
|
||||
|
||||
- uses: WebFreak001/deploy-nightly@v1.1.0
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # automatically provided by github actions
|
||||
with:
|
||||
upload_url: https://uploads.github.com/repos/zoffline/zwift-offline/releases/87551648/assets{?name,label}
|
||||
release_id: 87551648
|
||||
asset_path: zoffline-nightly.zip
|
||||
asset_name: zoffline-nightly.zip
|
||||
asset_content_type: application/zip
|
||||
path: dist/*
|
||||
|
||||
Reference in New Issue
Block a user