only create artifacts on develop and compress faster
This commit is contained in:
parent
7a456dcac4
commit
7d9c608f6b
4
.github/workflows/build-test.yml
vendored
4
.github/workflows/build-test.yml
vendored
|
@ -20,9 +20,11 @@ jobs:
|
||||||
run: go test ./...
|
run: go test ./...
|
||||||
|
|
||||||
- name: Compress binary
|
- name: Compress binary
|
||||||
run: make compress
|
if: ${{ github.ref == "develop" }}
|
||||||
|
run: upx build/wings_linux_amd64
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
|
if: ${{ github.ref == "develop" }}
|
||||||
with:
|
with:
|
||||||
name: wings_linux_amd64
|
name: wings_linux_amd64
|
||||||
path: build/wings_linux_amd64
|
path: build/wings_linux_amd64
|
Loading…
Reference in New Issue
Block a user