From 2169fffe7c9c0aba09ccaa076fbf4926f1546583 Mon Sep 17 00:00:00 2001 From: Jonathan LEI Date: Tue, 4 Jul 2023 12:27:29 +0000 Subject: [PATCH] ci: change release workflow graph Updates the workflow such that no draft release would be made if the commit branch check or the crate version check fails. --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 05ab6d6..e4bd94d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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: @@ -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: