mirror of
https://github.com/FroggMaster/CreamInstaller.git
synced 2026-06-12 19:11:25 -07:00
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:
@@ -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
|
||||
Reference in New Issue
Block a user