From b69d5c21ebb3d2873027cefe73fa850cc0bc6d08 Mon Sep 17 00:00:00 2001 From: Anton Bulakh Date: Tue, 15 Oct 2024 00:06:59 +0300 Subject: [PATCH] ci: compress windows executable artifact with 7zip --- .github/workflows/release.yml | 4 ++-- flake.nix | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ed6c066..bbbf90b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,7 +27,7 @@ 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 @@ -35,6 +35,6 @@ jobs: 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 diff --git a/flake.nix b/flake.nix index 1c510d2..a3ff427 100644 --- a/flake.nix +++ b/flake.nix @@ -181,6 +181,8 @@ pkgs.fenix.default.rustfmt-preview cargo-nextest + p7zip + (pkgs.writeShellScriptBin "release" '' vers="$1" if [ -z "$vers" ]; then