From ff3e36423db78b953c0739931a3980d1e38de452 Mon Sep 17 00:00:00 2001 From: Araxeus <78568641+Araxeus@users.noreply.github.com> Date: Fri, 6 May 2022 00:57:10 +0300 Subject: [PATCH] v1.0.2.6 --- .github/workflows/release.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f902823..83e3ff1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,8 +29,14 @@ jobs: run: cargo build --release --verbose - name: Zip - shell: bash - run: zip -r -FS lsi_${{ matrix.os }}.zip . -i "target/release/lsi*(.exe))" + if: matrix.os == 'windows-latest' + shell: pwsh + run: Compress-Archive "target/release/lsi.exe" lsi_${{ matrix.os }}.zip -Force + + - name: Zip + if: matrix.os != 'windows-latest' + shell: sh + run: zip -r -FS lsi_${{ matrix.os }}.zip "target/release/lsi" - name: Release uses: softprops/action-gh-release@v1