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
|
- test
|
||||||
- lint
|
- lint
|
||||||
- commitlint
|
- commitlint
|
||||||
|
outputs:
|
||||||
|
released: ${{ steps.release.outputs.released }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
@ -126,7 +128,7 @@ jobs:
|
|||||||
|
|
||||||
build_wheels:
|
build_wheels:
|
||||||
needs: [release]
|
needs: [release]
|
||||||
|
if: needs.release.outputs.released == 'true'
|
||||||
name: Build wheels on ${{ matrix.os }} with arch ${{ matrix.arch }}
|
name: Build wheels on ${{ matrix.os }} with arch ${{ matrix.arch }}
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user