Skip to content

Commit

Permalink
Update reusable-app-build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisMarsh82 authored Dec 11, 2023
1 parent 4c641aa commit c2f6f65
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/reusable-app-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -124,5 +126,5 @@ jobs:
uses: actions/upload-artifact@v2
with:
path: "www/"
name: ${{ needs.build.outputs.artifactname }}
name: ${{ env.ARTIFACT }}.exe

0 comments on commit c2f6f65

Please sign in to comment.