only create artifacts on develop and compress faster

This commit is contained in:
Jakob Schrettenbrunner 2020-07-04 23:54:03 +02:00
parent 7a456dcac4
commit 7d9c608f6b

View File

@ -20,9 +20,11 @@ jobs:
run: go test ./...
- name: Compress binary
run: make compress
if: ${{ github.ref == "develop" }}
run: upx build/wings_linux_amd64
- uses: actions/upload-artifact@v2
if: ${{ github.ref == "develop" }}
with:
name: wings_linux_amd64
path: build/wings_linux_amd64