mirror of
https://github.com/FroggMaster/CreamInstaller.git
synced 2026-06-12 19:11:25 -07:00
Merge branch 'main' of https://github.com/FroggMaster/CreamInstaller
This commit is contained in:
@@ -33,13 +33,15 @@ 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
|
||||
- name: Rename EXE with short commit SHA
|
||||
run: |
|
||||
Compress-Archive -Path ./publish/* -DestinationPath ./publish/CreamInstaller-$env:shortSha.zip
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user