Skip to content

Commit

Permalink
ci: compress windows executable artifact with 7zip
Browse files Browse the repository at this point in the history
  • Loading branch information
necauqua committed Oct 14, 2024
1 parent 9e55408 commit b69d5c2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ jobs:
./.github/workflows/finalize-artifacts.sh
gzip noita-utility-box-linux-generic.tar
zip -r noita-utility-box-windows.zip noita-utility-box.exe
nix develop --command -- 7z a noita-utility-box-windows noita-utility-box.exe
- name: Release
uses: softprops/action-gh-release@v2
with:
name: Release ${{ github.ref_name }}
draft: true
files: |
noita-utility-box-windows.zip
noita-utility-box-windows.7z
noita-utility-box.deb
noita-utility-box-linux-generic.tar.gz
2 changes: 2 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,8 @@
pkgs.fenix.default.rustfmt-preview
cargo-nextest

p7zip

(pkgs.writeShellScriptBin "release" ''
vers="$1"
if [ -z "$vers" ]; then
Expand Down

0 comments on commit b69d5c2

Please sign in to comment.