From f8c4b1f0f2c7ed8d9af80a08ea411476fa17d92d Mon Sep 17 00:00:00 2001 From: Willy Date: Wed, 1 Feb 2023 22:12:40 +0100 Subject: [PATCH] print tag result --- .github/workflows/build.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 812f5a76..e48f8022 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,7 +28,7 @@ jobs: id: versions run: | TAG=$(git describe --tags) - if [ "${{ github.ref }}" = "refs/heads/$TAG"]; then + if [ "${{ github.ref }}" = "refs/heads/$TAG" ]; then echo "is_release=true" >> $GITHUB_OUTPUT else echo "is_release=false" >> $GITHUB_OUTPUT @@ -36,6 +36,11 @@ jobs: # this will be v1.2.3 for on-tag builds and v1.2.3-numberofcommits-sha for off-tag builds echo "version=$LAST_TAG" >> $GITHUB_OUTPUT shell: bash + - name: show data results + run: | + echo == version summary == + echo is_release: ${{ steps.versions.outputs.is_release }} + echo version: ${{ steps.versions.outputs.version }} frontend: runs-on: ubuntu-latest needs: data