chore: avoid building wheels if a release is not made (#355)
This commit is contained in:
parent
1164ca55dd
commit
f9ec254150
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -106,6 +106,8 @@ jobs:
|
||||
- test
|
||||
- lint
|
||||
- commitlint
|
||||
outputs:
|
||||
released: ${{ steps.release.outputs.released }}
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
@ -126,7 +128,7 @@ jobs:
|
||||
|
||||
build_wheels:
|
||||
needs: [release]
|
||||
|
||||
if: needs.release.outputs.released == 'true'
|
||||
name: Build wheels on ${{ matrix.os }} with arch ${{ matrix.arch }}
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user