From 8a24bdad8121d5fbce41d10d1332785a1d82784e Mon Sep 17 00:00:00 2001 From: Frog Date: Wed, 19 Nov 2025 03:17:26 -0800 Subject: [PATCH] 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