Skip to content

Commit

Permalink
fix: update release conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean1572 committed May 16, 2024
1 parent e0c7598 commit 026b3d6
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/create_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,18 @@ jobs:
# Yes I know there won't be a changelog. But I really like main as a protected branch
changelog: "false"
github_token: ${{ secrets.GITHUB_TOKEN }}

# - name: check release state
# run: |
# echo "release: ${{ steps.release.outputs.released }}"
outputs:
release: ${{ steps.release.outputs.released }}

build_wheels:
if: needs.release.outputs.release == 'true'
name: Build wheels on ${{ matrix.python-version }}
needs: [release]
needs: release
runs-on: ubuntu-latest
if: needs.release.outputs.release == 'true'
strategy:
matrix:
python-version: ["3.9", "3.10"]
Expand Down

0 comments on commit 026b3d6

Please sign in to comment.