From 1c2fddee66a09021c78a6fe80f6d601d6084824a Mon Sep 17 00:00:00 2001 From: Kristoffer Dalby Date: Wed, 14 Jul 2021 03:48:49 +0100 Subject: [PATCH] Put Windows artefact in zip archive (#822) * Put Windows artefact in zip archive This PR adds an extra step to the Windows pipeline to put the Windows artefact in a `.zip` archive. A lot of places (specially companies) has proxies that outright blocks everything ending in `.exe` and this is a neat way to make it a bit easier to distribute from Github to those places. * Correct zip output path * Archive linux artifact --- .github/workflows/build.yml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7ef4197..369ee1e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -48,11 +48,15 @@ jobs: - name: Build Release run: | cargo build --release + + - name: Archive Windows artifact + run: | + powershell Compress-Archive ./target/release/neovide.exe ./target/release/neovide.zip - uses: actions/upload-artifact@v1 with: - name: neovide-windows.exe - path: ./target/release/neovide.exe + name: neovide-windows.zip + path: ./target/release/neovide.zip build-mac: @@ -163,11 +167,15 @@ jobs: - name: Build Release run: | cargo build --release + + - name: Archive Linux artifact + run: | + tar czvf ./target/release/neovide.tar.gz ./target/release/neovide - uses: actions/upload-artifact@v1 with: - name: neovide-linux - path: ./target/release/neovide + name: neovide-linux.tar.gz + path: ./target/release/neovide.tar.gz build-m1: