add new PyPI release workflow #2
Workflow file for this run
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
| # yamllint disable rule:line-length | |
| name: CI - Wheels | |
| on: | |
| pull_request: | |
| # Dry-run the wheel build on any PR that carries the "ci:wheels" label. | |
| # `synchronize` re-runs the build on every push so fixes are exercised | |
| # without re-applying the label; `labeled` covers adding the label to an | |
| # existing PR. | |
| types: [labeled, synchronize] | |
| concurrency: | |
| group: ci-wheels-${{ github.workflow }}-${{ github.event.pull_request.number }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| build_wheels: | |
| name: Build wheels | |
| if: contains(github.event.pull_request.labels.*.name, 'ci:wheels') | |
| uses: ./.github/workflows/_build_wheels.yml | |
| with: | |
| ref: ${{ github.event.pull_request.head.ref }} | |
| version: '0.0.0' |