From 2059d74c2f80ae67fb4a6b3f40ebf58b4ba71852 Mon Sep 17 00:00:00 2001 From: Jonas Kunz Date: Wed, 27 Sep 2023 16:45:53 +0200 Subject: [PATCH] Fix maven deploy step being skipped if preparation is skipped (#3335) --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1ac29a6d1a..34967dc27b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -86,7 +86,7 @@ jobs: maven_central_deploy: name: "Deploy to Maven Central (Buildkite)" - if: ${{ ! inputs.skip_maven_deploy }} + if: ${{ ! inputs.skip_maven_deploy && ( inputs.skip_preparation || success() ) }} runs-on: ubuntu-latest needs: - prepare_release