From af3b54129e85c6a8fabe18e2784c3a71dc33db17 Mon Sep 17 00:00:00 2001 From: MichalKinas <113341662+MichalKinas@users.noreply.github.com> Date: Mon, 31 Mar 2025 10:12:00 +0200 Subject: [PATCH] [ACS-7241] Parallel releases fix (#4488) --- .github/workflows/release-branch.yml | 0 .github/workflows/release.yml | 8 ++++---- 2 files changed, 4 insertions(+), 4 deletions(-) delete mode 100644 .github/workflows/release-branch.yml diff --git a/.github/workflows/release-branch.yml b/.github/workflows/release-branch.yml deleted file mode 100644 index e69de29bb..000000000 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 652792e37..382b6b3cf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -95,7 +95,7 @@ jobs: publish-docker-registry: if: | always() && - (${{ inputs.publish-to-quay == 'true' }} && (needs.unit-tests.result == 'success' || needs.unit-tests.result == 'skipped')) + (${{ inputs.publish-to-quay == 'true' }} && (${{ needs.unit-tests.result == 'success' }} || ${{ needs.unit-tests.result == 'skipped' }})) needs: [lint, unit-tests] name: "Publish to Quay" runs-on: ubuntu-latest @@ -130,7 +130,7 @@ jobs: publish-to-dockerhub: if: | always() && - (${{ inputs.publish-to-docker == 'true' }} && (needs.unit-tests.result == 'success' || needs.unit-tests.result == 'skipped')) + (${{ inputs.publish-to-docker == 'true' }} && (${{ needs.unit-tests.result == 'success' }} || ${{ needs.unit-tests.result == 'skipped' }})) needs: [lint, unit-tests] name: "Publish to Dockerhub" runs-on: ubuntu-latest @@ -165,7 +165,7 @@ jobs: publish-git-tag: if: | always() && - (${{ inputs.publish-git-tag == 'true' }} && (needs.unit-tests.result == 'success' || needs.unit-tests.result == 'skipped')) + (${{ inputs.publish-git-tag == 'true' }} && (${{ needs.unit-tests.result == 'success' }} || ${{ needs.unit-tests.result == 'skipped' }})) needs: [lint, unit-tests] name: "Publish Git Tag" runs-on: ubuntu-latest @@ -197,7 +197,7 @@ jobs: publish-libs: if: | always() && - (${{ inputs.publish-to-npm == 'true' }} && (needs.unit-tests.result == 'success' || needs.unit-tests.result == 'skipped')) + (${{ inputs.publish-to-npm == 'true' }} && ( ${{ needs.unit-tests.result == 'success' }} || ${{ needs.unit-tests.result == 'skipped' }})) needs: [lint, unit-tests] name: "Publish libs to NPM and GitHub registry" runs-on: ubuntu-latest