From c1bb79d14d1be4b56df47cd2db74f81a5fc2003c Mon Sep 17 00:00:00 2001 From: Diogo Matsubara Date: Fri, 13 Sep 2024 14:15:23 +0200 Subject: [PATCH] fix: update release workflow to depend on cargo (#1410) Makes all the publishing steps depend on cargo publishing. This way if there's a failure publishing to crates.io, we don't publish to github/docker/debian/homebrew, making it easier to retract the release. --- .github/workflows/release.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f8e614fa12..28148d0969 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -95,7 +95,7 @@ jobs: debian: name: Publish Debian packages - needs: [tag, build-debian] + needs: [tag, build-debian, cargo] uses: eclipse-zenoh/ci/.github/workflows/release-crates-debian.yml@main with: no-build: true @@ -107,7 +107,7 @@ jobs: homebrew: name: Publish Homebrew formulae - needs: [tag, build-standalone] + needs: [tag, build-standalone, cargo] uses: eclipse-zenoh/ci/.github/workflows/release-crates-homebrew.yml@main with: no-build: true @@ -128,7 +128,7 @@ jobs: eclipse: name: Publish artifacts to Eclipse downloads - needs: [tag, build-standalone] + needs: [tag, build-standalone, cargo] uses: eclipse-zenoh/ci/.github/workflows/release-crates-eclipse.yml@main with: no-build: true @@ -145,7 +145,7 @@ jobs: github: name: Publish artifacts to GitHub Releases - needs: [tag, build-standalone] + needs: [tag, build-standalone, cargo] uses: eclipse-zenoh/ci/.github/workflows/release-crates-github.yml@main with: no-build: true @@ -161,7 +161,7 @@ jobs: dockerhub: name: Publish container image to DockerHub - needs: [tag, build-standalone] + needs: [tag, build-standalone, cargo] uses: eclipse-zenoh/ci/.github/workflows/release-crates-dockerhub.yml@main with: no-build: true