Skip to content

fix: cast infinite waiting. disable cast_try_reconnect #83

fix: cast infinite waiting. disable cast_try_reconnect

fix: cast infinite waiting. disable cast_try_reconnect #83

Workflow file for this run

name: App Builder
on:
push:
branches: master
workflow_dispatch:
concurrency:
cancel-in-progress: true
# we want to group based on the push type not the ref
group: ${{ github.ref_type }}
env:
ARTIFACT_BASE_NAME: 'music_caster_artifacts' # + '_${runsOn}'
github: ${{ secrets.GITHUB_TOKEN }}
jobs:
build:
strategy:
matrix:
platform: [windows-latest]
runs-on: ${{matrix.platform}}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.12
cache: pip
- uses: actions/setup-go@v5
- name: Create Python venv
run: |
python -m venv .venv
- name: Install dependencies
run: |
# hack: install tkdnd2 to system
python build.py --deps
.venv\Scripts\Activate.ps1
python build.py --deps
- name: Build
run: |
.venv\Scripts\Activate.ps1
python build.py --ci --no-deps --no-tests --no-install
- name: Test build
run: |
.venv\Scripts\Activate.ps1
python build.py --ci --no-deps --no-build --no-install
# upload the build continuously to avoid duplicate build on a tag
# script will exit with zero if release for VERSION exists since --ci is used
- name: Upload build
if: ${{ github.event_name == 'push' && github.ref_name == 'master' }}
run: |
.venv\Scripts\Activate.ps1
python build.py -u --ci --no-deps --no-build --no-tests --no-install
# TODO: if/when MacOS is supported?
# release:
# needs: build
# runs-on: ubuntu-latest