Switched to dynamic version defined only in __init__.py. #17
This file contains hidden or 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: Build all | |
| on: | |
| push: | |
| branches: | |
| - master | |
| paths: | |
| - '**' # include everything | |
| - '!docs/**' # exclude docs | |
| - '!README.md' # exclude README | |
| pull_request: | |
| branches: | |
| - master | |
| paths: | |
| - '**' # include everything | |
| - '!docs/**' # exclude docs | |
| - '!README.md' # exclude README | |
| workflow_dispatch: # Manual trigger | |
| jobs: | |
| build-sdist: | |
| uses: './.github/workflows/_build_sdist_.yml' | |
| build-wheels: | |
| uses: './.github/workflows/_build_wheels_.yml' | |
| build: | |
| needs: | |
| - build-sdist | |
| - build-wheels | |
| name: Build all | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/download-artifact@v4 | |
| with: | |
| pattern: pyvcam_* | |
| path: dist/ | |
| merge-multiple: true | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.13' | |
| - name: Install dependencies | |
| run: python -m pip install --upgrade pip twine packaging | |
| - name: Check package | |
| run: python -m twine check --strict dist/* |