From 8a24bdad8121d5fbce41d10d1332785a1d82784e Mon Sep 17 00:00:00 2001 From: Frog Date: Wed, 19 Nov 2025 03:17:26 -0800 Subject: [PATCH 1/2] Update ci-builds.yml - GH Action fix --- .github/workflows/ci-builds.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-builds.yml b/.github/workflows/ci-builds.yml index 411d969..b6bf766 100644 --- a/.github/workflows/ci-builds.yml +++ b/.github/workflows/ci-builds.yml @@ -33,13 +33,16 @@ jobs: run: | $shortSha = $env:GITHUB_SHA.Substring(0,7) Write-Output "shortSha=$shortSha" >> $env:GITHUB_ENV + shell: pwsh - name: Zip Release with short commit SHA run: | - Compress-Archive -Path ./publish/* -DestinationPath ./publish/CreamInstaller-$env:shortSha.zip + $zipPath = "./publish/CreamInstaller-$env:shortSha.zip" + Compress-Archive -Path ./publish/* -DestinationPath $zipPath + shell: pwsh - name: Upload artifact with commit SHA uses: actions/upload-artifact@v4 with: - name: CreamInstaller-CI-Release-$env:shortSha - path: ./publish/CreamInstaller-$env:shortSha.zip + name: CreamInstaller-CI-Release-${{ env.shortSha }} + path: ./publish/CreamInstaller-${{ env.shortSha }}.zip From 09cafa27fba051461dccecd4ba877911dc5d9daa Mon Sep 17 00:00:00 2001 From: Frog Date: Wed, 19 Nov 2025 03:30:34 -0800 Subject: [PATCH 2/2] Update ci-builds.yml - Fix artifact becoming two ZIPs (LOL woops) --- .github/workflows/ci-builds.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci-builds.yml b/.github/workflows/ci-builds.yml index b6bf766..641ad97 100644 --- a/.github/workflows/ci-builds.yml +++ b/.github/workflows/ci-builds.yml @@ -35,14 +35,13 @@ jobs: Write-Output "shortSha=$shortSha" >> $env:GITHUB_ENV shell: pwsh - - name: Zip Release with short commit SHA + - name: Rename EXE with short commit SHA run: | - $zipPath = "./publish/CreamInstaller-$env:shortSha.zip" - Compress-Archive -Path ./publish/* -DestinationPath $zipPath + Rename-Item -Path ./publish/CreamInstaller.exe -NewName "CreamInstaller-$env:shortSha.exe" shell: pwsh - - name: Upload artifact with commit SHA + - name: Upload artifact uses: actions/upload-artifact@v4 with: - name: CreamInstaller-CI-Release-${{ env.shortSha }} - path: ./publish/CreamInstaller-${{ env.shortSha }}.zip + name: CreamInstaller-${{ env.shortSha }} + path: ./publish/CreamInstaller-${{ env.shortSha }}.exe