diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6ab1c51..a9b82b6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -58,14 +58,12 @@ jobs: permissions: contents: write outputs: - tagcreated: ${{ steps.autotag.outputs.tagcreated }} - tagname: ${{ steps.autotag.outputs.tagname }} + tagExists: ${{ steps.checkTag.outputs.exists }} steps: - uses: mukunku/tag-exists-action@v1.4.0 id: checkTag with: tag: v${{ needs.test-versions.outputs.version }} - - run: echo ${{ steps.checkTag.outputs.exists }} - uses: actions/checkout@v3.3.0 - name: Tag version and create release if: steps.checkTag.outputs.exists == 'false' @@ -78,7 +76,7 @@ jobs: permissions: packages: write needs: [tag, test-versions] - if: needs.test-versions.outputs.version != '' + if: needs.tag.outputs.tagExists == 'false' steps: - uses: actions/checkout@v3 - name: Build image