From 800cb2b9f63485090267066ebd49092e7b2753f4 Mon Sep 17 00:00:00 2001 From: Frog Date: Wed, 19 Nov 2025 02:53:29 -0800 Subject: [PATCH] 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. --- .github/workflows/{cibuilds.yml => ci-builds.yml} | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) rename .github/workflows/{cibuilds.yml => ci-builds.yml} (65%) diff --git a/.github/workflows/cibuilds.yml b/.github/workflows/ci-builds.yml similarity index 65% rename from .github/workflows/cibuilds.yml rename to .github/workflows/ci-builds.yml index 278b27a..9ed195d 100644 --- a/.github/workflows/cibuilds.yml +++ b/.github/workflows/ci-builds.yml @@ -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