Rename CI-Builds / Adjust so CI Builds include commit in ZIP file

- Updated name of CI builds for clarity to include -
- Updated so the final ZIP file includes the commit it was built from
- Adjusted artifact release name.
This commit is contained in:
Frog
2025-11-19 02:53:29 -08:00
committed by GitHub
parent 8b6013e1c0
commit 800cb2b9f6
@@ -28,8 +28,13 @@ jobs:
- name: Publish single-file
run: dotnet publish CreamInstaller.sln -c Release -r win-x64 -p:PublishSingleFile=true --self-contained true --output ./publish
- name: Upload artifact
- name: Zip Release with short commit SHA
run: |
$shortSha = "${{ github.sha }}"[0..6]
Compress-Archive -Path ./publish/* -DestinationPath ./publish/CreamInstaller-$shortSha.zip
- name: Upload artifact with commit SHA
uses: actions/upload-artifact@v4
with:
name: CreamInstaller-release
path: ./publish/CreamInstaller.exe
name: CreamInstaller-CI-Release-${{ github.sha[0..6] }}
path: ./publish/CreamInstaller-${{ github.sha[0..6] }}.zip