Skip to content

Commit

Permalink
compress archive in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
aarol committed Mar 25, 2024
1 parent ad0c604 commit 34fd58f
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,30 @@ on:
jobs:
release:
runs-on: windows-latest

steps:
- uses: actions/checkout@v4

- uses: actions/cache@v2
with:
path: |
**/target
key: Cargo.lock

- run: cargo build --release

- name: Compile .ISS to .EXE Installer
uses: Minionguyjpro/[email protected]
with:
path: installer.iss

- run: mv Output\mysetup.exe Installer.exe

- run: Compress-Archive Output\mysetup.exe arctis-battery-indicator.zip
shell: powershell

- uses: softprops/action-gh-release@v2
with:
files: |
Installer.exe
arctis-battery-indicator.zip
generate_release_notes: true
name: Release ${{github.ref_name}}
name: Release ${{github.ref_name}}

0 comments on commit 34fd58f

Please sign in to comment.