Update configure_client #26
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: pyinstaller | |
on: | |
push: | |
branches: | |
- master | |
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/configurator@v0.0.10 | |
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: pyinstaller bot_editor.spec | |
- run: pyinstaller get_profile.spec | |
- run: pyinstaller strava_auth.spec | |
- run: pyinstaller upload_activity.spec | |
- uses: vimtor/action-zip@v1 | |
with: | |
files: dist configure_client.bat disable_zoffline.bat resources | |
dest: zoffline-helper.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/oldnapalm/zoffline-helper/releases/169846138/assets{?name,label} | |
release_id: 169846138 | |
asset_path: zoffline-helper.zip | |
asset_name: zoffline-helper.zip | |
asset_content_type: application/zip |