From f287477693f90bfc27c7134fb9f22b5dfa9f2c28 Mon Sep 17 00:00:00 2001 From: Simon Davies Date: Tue, 21 Nov 2023 13:07:51 +0000 Subject: [PATCH] Update package.yml --- .github/workflows/package.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index cb2721b20..a367b7e63 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -48,16 +48,16 @@ jobs: shell: pwsh env: InputVersion: ${{ inputs.version }} + GITHUB_RUN_NUMBER: ${GITHUB_RUN_NUMBER} run: | $tagVersion = $env:InputVersion.StartsWith('v') ? $env:InputVersion : "v" + $env:InputVersion $rawVersion = $env:InputVersion.StartsWith('v') ? $env:InputVersion.Substring(1) : $env:InputVersion $validation = [System.Version]::Parse($rawVersion) - $runNumber = ${GITHUB_RUN_NUMBER} echo "tagVersion=$tagVersion" >> $env:GITHUB_OUTPUT echo "rawVersion=$rawVersion" >> $env:GITHUB_OUTPUT echo "artifactNameUnpacked=vortex-setup-$rawVersion-unpacked" >> $env:GITHUB_OUTPUT echo "artifactNameInstaller=vortex-setup-$rawVersion-installer" >> $env:GITHUB_OUTPUT - echo "epicBuildString=$rawVersion+$runNumber" >> $env:GITHUB_OUTPUT + echo "epicBuildString=$rawVersion+${GITHUB_RUN_NUMBER}" >> $env:GITHUB_OUTPUT - name: Get current time uses: josStorer/get-current-time@v2 id: current-time