Fix CI - change output name (#119)

This commit is contained in:
ronahk
2022-11-27 11:46:12 +02:00
committed by GitHub
parent 3384db7193
commit 34158a7a9c

View File

@@ -21,18 +21,18 @@ jobs:
run: echo "TAG_NAME=$(echo ${{ github.ref_name }} | cut -d 'v' -f2)" >> $GITHUB_OUTPUT run: echo "TAG_NAME=$(echo ${{ github.ref_name }} | cut -d 'v' -f2)" >> $GITHUB_OUTPUT
outputs: outputs:
plugin_version: ${{ steps.get_plugin_version.outputs.PLUGIN_VERSION }} 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: release:
needs: pre_release needs: pre_release
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
#- name: Plugin version/Tag name Check - name: Plugin version/Tag name Check
# if: needs.pre_release.outputs.release_tag != needs.pre_release.outputs.plugin_version if: needs.pre_release.outputs.release_tag != needs.pre_release.outputs.plugin_version
# uses: actions/github-script@v3 uses: actions/github-script@v3
# with: with:
# script: | script: |
# core.setFailed('Plugin version and tag name are not equivalent!') core.setFailed('Plugin version and tag name are not equivalent!')
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3
with: with: