mirror of
https://github.com/FroggMaster/CreamInstaller.git
synced 2026-06-12 11:01:23 -07:00
Update ci-builds.yml
- GH Action fix
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user