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
macos-click-through
Kristoffer Dalby 3 years ago committed by GitHub
parent c712dd2783
commit 1c2fddee66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -48,11 +48,15 @@ jobs:
- name: Build Release - name: Build Release
run: | run: |
cargo build --release cargo build --release
- name: Archive Windows artifact
run: |
powershell Compress-Archive ./target/release/neovide.exe ./target/release/neovide.zip
- uses: actions/upload-artifact@v1 - uses: actions/upload-artifact@v1
with: with:
name: neovide-windows.exe name: neovide-windows.zip
path: ./target/release/neovide.exe path: ./target/release/neovide.zip
build-mac: build-mac:
@ -163,11 +167,15 @@ jobs:
- name: Build Release - name: Build Release
run: | run: |
cargo build --release cargo build --release
- name: Archive Linux artifact
run: |
tar czvf ./target/release/neovide.tar.gz ./target/release/neovide
- uses: actions/upload-artifact@v1 - uses: actions/upload-artifact@v1
with: with:
name: neovide-linux name: neovide-linux.tar.gz
path: ./target/release/neovide path: ./target/release/neovide.tar.gz
build-m1: build-m1:

Loading…
Cancel
Save