From c2f6f65e1250a83d4e7cb413e6204e008cf437e6 Mon Sep 17 00:00:00 2001 From: Chris Marsh <84872334+ChrisMarsh82@users.noreply.github.com> Date: Mon, 11 Dec 2023 16:41:01 +0000 Subject: [PATCH] Update reusable-app-build.yml --- .github/workflows/reusable-app-build.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/reusable-app-build.yml b/.github/workflows/reusable-app-build.yml index 1ace6dbe41..ae5ab7fccc 100644 --- a/.github/workflows/reusable-app-build.yml +++ b/.github/workflows/reusable-app-build.yml @@ -54,7 +54,8 @@ jobs: outputs: artifactname: ${{ steps.set_version.outputs.artifactname }} GIT_SHA: ${{ steps.populate.outputs.GIT_SHA }} - + env: + ARTIFACT: test runs-on: ubuntu-latest steps: @@ -87,6 +88,7 @@ jobs: # Extract the version number VERSION=$(grep 'content_tag_latest:' $FILE_PATH | sed 's/content_tag_latest: *"\(.*\)",/\1/') echo "Extracted Version: $VERSION" + echo "::set-env name=ARTIFACT::$version" echo "artifactname=$VERSION" >> $GITHUB_ENV - name: Populate Encryption key @@ -124,5 +126,5 @@ jobs: uses: actions/upload-artifact@v2 with: path: "www/" - name: ${{ needs.build.outputs.artifactname }} + name: ${{ env.ARTIFACT }}.exe