Update ci-builds.yml

- GH Action fix
This commit is contained in:
Frog
2025-11-19 03:17:26 -08:00
committed by GitHub
parent 21bcfae688
commit 8a24bdad81
+6 -3
View File
@@ -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