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.
This commit is contained in:
Frog
2025-11-19 03:00:47 -08:00
committed by GitHub
parent bdb1d9ffd2
commit 4063e482dd
+7 -1
View File
@@ -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 }}