diff --git a/.github/workflows/build-test-and-publish.yml b/.github/workflows/build-test-and-publish.yml index 9f3746a5..066e1193 100644 --- a/.github/workflows/build-test-and-publish.yml +++ b/.github/workflows/build-test-and-publish.yml @@ -83,13 +83,13 @@ jobs: tag: needs: [ build, unit-tests-and-sonarqube, source-clear ] uses: ./.github/workflows/tag.yml - if: ${{ success() && env.RUN_PUBLISH }} + if: success() && ${{ env.RUN_PUBLISH }} secrets: inherit publish-library: needs: [ tag ] uses: ./.github/workflows/publish.yml - if: ${{ success() && env.RUN_PUBLISH }} + if: success() && ${{ env.RUN_PUBLISH }} secrets: inherit with: tag: ${{ needs.tag.outputs.tag }} @@ -98,7 +98,7 @@ jobs: needs: [ tag ] uses: ./.github/workflows/release-cli.yml secrets: inherit - if: ${{ success() && env.RUN_PUBLISH }} + if: success() && ${{ env.RUN_PUBLISH }} with: tag: ${{ needs.tag.outputs.tag }}