From 34158a7a9c4fc394906abd05e98cf1f495c9513c Mon Sep 17 00:00:00 2001 From: ronahk <74967920+ronahk@users.noreply.github.com> Date: Sun, 27 Nov 2022 11:46:12 +0200 Subject: [PATCH] Fix CI - change output name (#119) --- .github/workflows/release.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index ddffc7c..27a1f38 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -21,18 +21,18 @@ jobs: run: echo "TAG_NAME=$(echo ${{ github.ref_name }} | cut -d 'v' -f2)" >> $GITHUB_OUTPUT outputs: plugin_version: ${{ steps.get_plugin_version.outputs.PLUGIN_VERSION }} - tag_name: ${{ steps.get_tag_name.outputs.TAG_NAME }} + release_tag: ${{ steps.get_tag_name.outputs.TAG_NAME }} release: needs: pre_release runs-on: ubuntu-latest steps: - #- name: Plugin version/Tag name Check - # if: needs.pre_release.outputs.release_tag != needs.pre_release.outputs.plugin_version - # uses: actions/github-script@v3 - # with: - # script: | - # core.setFailed('Plugin version and tag name are not equivalent!') + - name: Plugin version/Tag name Check + if: needs.pre_release.outputs.release_tag != needs.pre_release.outputs.plugin_version + uses: actions/github-script@v3 + with: + script: | + core.setFailed('Plugin version and tag name are not equivalent!') - name: Checkout uses: actions/checkout@v3 with: