From 627a05862bb8223a524de3f781e9f26bbbbf3088 Mon Sep 17 00:00:00 2001 From: Matan Kushner Date: Thu, 18 Aug 2022 22:50:55 -0400 Subject: [PATCH] ci: publish to cargo and brew after successful release --- .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 fc84045b..7d9dcbc3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -277,7 +277,7 @@ jobs: cargo_publish: name: Publish Cargo Package runs-on: ubuntu-latest - needs: release_please + needs: [release_please, upload_artifacts] if: ${{ needs.release_please.outputs.release_created == 'true' }} steps: - name: Setup | Checkout @@ -296,7 +296,7 @@ jobs: update_brew_formula: name: Update Brew Formula runs-on: ubuntu-latest - needs: release_please + needs: [release_please, upload_artifacts] if: ${{ needs.release_please.outputs.release_created == 'true' }} steps: - uses: mislav/bump-homebrew-formula-action@v2.1