From c5ff9304fcd16ab82e35de0dbdb6e65851bd8a61 Mon Sep 17 00:00:00 2001 From: theubusu <80545678+theubusu@users.noreply.github.com> Date: Wed, 25 Feb 2026 13:09:02 +0100 Subject: [PATCH] Github actions 2 --- .github/workflows/rust.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index bea9bb9..c1a74dd 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -21,9 +21,23 @@ jobs: - uses: actions/checkout@v4 - name: Build run: cargo build --release + + - name: Zip linux binary + if: matrix.os == 'ubuntu-latest' + run: | + cd target/release + zip unixtract-linux-auto.zip unixtract + + - name: Zip windows binary + if: matrix.os == 'windows-latest' + run: | + cd target/release + 7z a unixtract-windows-auto.zip unixtract.exe + - name: Upload artifact uses: actions/upload-artifact@v4 with: name: unixtract-${{ matrix.os }}-auto - path: target/release/ + path: target/release/*.zip +