From f3434298df37c625f0064528e57efc905e3c3cbf Mon Sep 17 00:00:00 2001 From: "Jason T. Greene" Date: Thu, 28 Mar 2024 13:28:00 -0500 Subject: [PATCH] Switch back to checking out the same branch the action script runs in Signed-off-by: Jason T. Greene --- .github/workflows/upload-win-installer.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/upload-win-installer.yml b/.github/workflows/upload-win-installer.yml index 4d82b12f03..f824b07ac5 100644 --- a/.github/workflows/upload-win-installer.yml +++ b/.github/workflows/upload-win-installer.yml @@ -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