From 4063e482dd250c6a2369630c5940e9ee5922122d Mon Sep 17 00:00:00 2001 From: Frog Date: Wed, 19 Nov 2025 03:00:47 -0800 Subject: [PATCH] Add zip release - Add zip release for internal application updates - Left the EXE for ease of access for those that don't want to extract a ZIP on first install. --- .github/workflows/create-release.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 26d23fa..6d673e0 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -52,12 +52,18 @@ jobs: - name: Publish single-file run: dotnet publish CreamInstaller.sln -c Release -r win-x64 -p:PublishSingleFile=true --self-contained true --output ./publish + - name: Zip Release + run: | + Compress-Archive -Path ./publish/* -DestinationPath ./publish/CreamInstaller.zip + - name: Create GitHub Release uses: softprops/action-gh-release@v1 with: tag_name: v${{ inputs.version }} name: ${{ inputs.title || format('Release v{0}', inputs.version) }} body: ${{ inputs.notes }} - files: ./publish/CreamInstaller.exe + files: | + ./publish/CreamInstaller.exe + ./publish/CreamInstaller.zip env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}