diff --git a/.github/workflows/get_version.yml b/.github/workflows/get_version.yml index 1d5296e..a0456cb 100644 --- a/.github/workflows/get_version.yml +++ b/.github/workflows/get_version.yml @@ -14,6 +14,7 @@ jobs: id: releaseVersion run: | export COMMIT_MESSAGE="${{ github.event.head_commit.message }}" - echo ::set-output name=tagName::${COMMIT_MESSAGE | grep -oP "release \K\d+\.\d+\.\d+"} + export TAG_NAME=echo ${COMMIT_MESSAGE} | grep -oP "release \K\d+\.\d+\.\d+" + echo ::set-output name=tagName::${TAG_NAME} - run: "echo '${{ steps.releaseVersion.outputs.tagName }}'"