Skip to content

Commit 026b3d6

Browse files
committed
fix: update release conditions
1 parent e0c7598 commit 026b3d6

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/create_release.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,18 @@ jobs:
2626
# Yes I know there won't be a changelog. But I really like main as a protected branch
2727
changelog: "false"
2828
github_token: ${{ secrets.GITHUB_TOKEN }}
29+
30+
# - name: check release state
31+
# run: |
32+
# echo "release: ${{ steps.release.outputs.released }}"
2933
outputs:
3034
release: ${{ steps.release.outputs.released }}
3135

3236
build_wheels:
33-
if: needs.release.outputs.release == 'true'
3437
name: Build wheels on ${{ matrix.python-version }}
35-
needs: [release]
38+
needs: release
3639
runs-on: ubuntu-latest
40+
if: needs.release.outputs.release == 'true'
3741
strategy:
3842
matrix:
3943
python-version: ["3.9", "3.10"]

0 commit comments

Comments
 (0)