Update ci-builds.yml

- Fix artifact becoming two ZIPs (LOL woops)
This commit is contained in:
Frog
2025-11-19 03:30:34 -08:00
committed by GitHub
parent 8a24bdad81
commit 09cafa27fb
+5 -6
View File
@@ -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