From ea77db85d3734ab18a28b574f0217540303b5996 Mon Sep 17 00:00:00 2001 From: David Rowe Date: Wed, 18 Nov 2020 21:06:29 +1300 Subject: [PATCH] Use output var in second step --- .github/workflows/pr_build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr_build.yml b/.github/workflows/pr_build.yml index 1e8b7e53ad..d975957d55 100644 --- a/.github/workflows/pr_build.yml +++ b/.github/workflows/pr_build.yml @@ -44,7 +44,6 @@ jobs: id: buildenv1 run: | echo ::set-output name=github_sha_short::`echo $GIT_COMMIT | cut -c1-7` - echo "GIT_COMMIT_SHORT=${{github_sha_short}}" >> $GITHUB_ENV echo "JOB_NAME=build (${{matrix.os}}, ${{matrix.build_type}})" >> $GITHUB_ENV # Linux build variables @@ -73,7 +72,8 @@ jobs: echo "${{ steps.buildenv1.outputs.symbols_archive }}" echo "ARTIFACT_PATTERN=Vircadia-Alpha-PR${{ github.event.number }}-*.$INSTALLER_EXT" >> $GITHUB_ENV # Build type variables - echo "INSTALLER=Vircadia-Alpha-$RELEASE_NUMBER-$GIT_COMMIT_SHORT.$INSTALLER_EXT" >> $GITHUB_ENV + echo "GIT_COMMIT_SHORT=${{github_sha_short}}" >> $GITHUB_ENV + echo "INSTALLER=Vircadia-Alpha-$RELEASE_NUMBER-${{ github_sha_short }}.$INSTALLER_EXT" >> $GITHUB_ENV - name: Clear Working Directory if: startsWith(matrix.os, 'windows') shell: bash