Skip to content

Commit

Permalink
ci: change release workflow graph
Browse files Browse the repository at this point in the history
Updates the workflow such that no draft release would be made if the
commit branch check or the crate version check fails.
  • Loading branch information
xJonathanLEI committed Jul 4, 2023
1 parent 9fcbfa5 commit 2169fff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
release-non-apple:
name: "Build for ${{ matrix.target }}"
runs-on: "${{ matrix.os }}"
needs: ["crate-info"]
needs: ["crate-info", "commit-branch-check", "crate-version-check"]

strategy:
matrix:
Expand Down Expand Up @@ -146,7 +146,7 @@ jobs:
release-apple:
name: "Build for ${{ matrix.target }}"
runs-on: "${{ matrix.os }}"
needs: ["crate-info"]
needs: ["crate-info", "commit-branch-check", "crate-version-check"]

strategy:
matrix:
Expand Down

0 comments on commit 2169fff

Please sign in to comment.