From 7d5ab081802faebc0c5737fe8c4a9a65fa35623d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20Basl=C3=A9?= Date: Tue, 11 May 2021 10:48:50 +0200 Subject: [PATCH] [build] Fix tagging step, using job's output The tag name is derived from prepare job's output, not a previous step (that doesn't exist in this job)... --- .github/workflows/publish.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 32e3c43ee2..a2f6051cf4 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -14,6 +14,7 @@ jobs: runs-on: ubuntu-20.04 outputs: versionType: ${{ steps.version.outputs.versionType }} + fullVersion: ${{ steps.version.outputs.fullVersion }} steps: - uses: actions/checkout@v2 - name: setup java @@ -73,7 +74,7 @@ jobs: run: | git config --local user.name 'reactorbot' git config --local user.email '32325210+reactorbot@users.noreply.github.com' - git tag -m "Release milestone ${{ steps.version.outputs.fullVersion }}" v${{ steps.version.outputs.fullVersion }} ${{ github.sha }} + git tag -m "Release milestone ${{ needs.prepare.outputs.fullVersion }}" v${{ needs.prepare.outputs.fullVersion }} ${{ github.sha }} git push --tags #sign the release artifacts and deploy them to Artifactory @@ -102,7 +103,7 @@ jobs: run: | git config --local user.name 'reactorbot' git config --local user.email '32325210+reactorbot@users.noreply.github.com' - git tag -m "Release version ${{ steps.version.outputs.fullVersion }}" v${{ steps.version.outputs.fullVersion }} ${{ github.sha }} + git tag -m "Release version ${{ needs.prepare.outputs.fullVersion }}" v${{ needs.prepare.outputs.fullVersion }} ${{ github.sha }} git push --tags # For Gradle configuration of signing, see https://docs.gradle.org/current/userguide/signing_plugin.html#sec:in-memory-keys