diff --git a/.github/workflows/release-publish.yml b/.github/workflows/release-publish.yml index 9c81edf..2c1006f 100644 --- a/.github/workflows/release-publish.yml +++ b/.github/workflows/release-publish.yml @@ -55,7 +55,7 @@ jobs: uses: actions/checkout@v3 - name: Set up JDK 17 - if: ${{ matrix.context == 'ch-edc'}} + if: ${{ needs.release.outputs.new_tag_version == 'ch-edc'}} uses: actions/setup-java@v2 with: java-version: '17' @@ -68,7 +68,7 @@ jobs: echo "VERSION=${TAG#v}" >> $GITHUB_ENV - name: Build project - if: ${{ matrix.context == 'ch-edc'}} + if: ${{ needs.release.outputs.new_tag_version == 'ch-edc'}} run: | cd clearing-house-edc ./gradlew clean build \