Skip to content

Commit

Permalink
Fix CI - change output name (#119)
Browse files Browse the repository at this point in the history
  • Loading branch information
ronahk authored Nov 27, 2022
1 parent 3384db7 commit 34158a7
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 34158a7

Please sign in to comment.