Skip to content

Commit

Permalink
Update package.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
insomnious authored Nov 21, 2023
1 parent 1d8bf61 commit f287477
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f287477

Please sign in to comment.