From 7d9c608f6b02696030d078256f4483fbc45155fd Mon Sep 17 00:00:00 2001 From: Jakob Schrettenbrunner Date: Sat, 4 Jul 2020 23:54:03 +0200 Subject: [PATCH] only create artifacts on develop and compress faster --- .github/workflows/build-test.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 4d9874c..2045d3e 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -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 \ No newline at end of file