From b02c7fea211da8334f494b05f9418a1f8259ea38 Mon Sep 17 00:00:00 2001 From: Bill Plein <260078+bplein@users.noreply.github.com> Date: Wed, 15 Mar 2023 13:22:50 -0500 Subject: [PATCH] Update githubtest.yml --- .github/workflows/githubtest.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/githubtest.yml b/.github/workflows/githubtest.yml index 5a6bc67..ca1c35c 100644 --- a/.github/workflows/githubtest.yml +++ b/.github/workflows/githubtest.yml @@ -53,15 +53,14 @@ jobs: - name: Extract all versions from buildinfo.json id: get-version run: | - VERSION=$(cat buildinfo.json | jq -r '.[] | .tags | select( index("latest"))|.[0]')} + VERSION=$(cat buildinfo.json | jq -r '.[] | .tags | select( index("latest"))|.[0]') echo "VERSION=$VERSION" >> $GITHUB_ENV - echo "action_state=yellow" >> $GITHUB_ENV -# echo "{TAGS}={$(cat buildinfo.json | jq -r '.[] | .tags | select( index("latest"))|.[0]')}" >> $GITHUB_ENV + echo "TAGS=$(cat buildinfo.json | jq -r '.[] | .tags | select( index("latest"))|.[0]')" >> $GITHUB_ENV # echo "$GITHUB_ENV" # echo "${{ env.VERSION }}" - name: Show versions and tags run: | echo "${{ env.VERSION }}" # This will output VERSION echo "${{ env.action_state }}" # This will output 'yellow' - #echo "Tags: ${{ env.TAGS }}" + echo "Tags: ${{ env.TAGS }}"