Merge pull request #22205 from n1hility/fix-action

[CI:DOCS] Switch back to checking out the same branch the action script runs in
This commit is contained in:
openshift-merge-bot[bot] 2024-03-28 19:07:33 +00:00 committed by GitHub
commit 07a03c453b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 2 deletions

View File

@ -54,9 +54,10 @@ jobs:
}
}
Write-Output "version=$version" | Out-File -FilePath $env:GITHUB_OUTPUT -Append
# Note this purposefully checks out the same branch the action runs in, as the
# installer build script is designed to support older releases (uses the archives
# on the release tag).
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
with:
ref: ${{steps.getversion.outputs.version}}
# This step is super-duper critical for the built/signed windows installer .exe file.
# It ensures the referenced $version github release page does NOT already contain
# this file. Windows assigns a UUID to the installer at build time, it's assumed