From a110d5768f4b0c8d44e55a5dd34558e47ff0d868 Mon Sep 17 00:00:00 2001 From: Jakob Schrettenbrunner Date: Sun, 5 Jul 2020 00:10:35 +0200 Subject: [PATCH] guessing the ref name --- .github/workflows/build-test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 4adcbe5..bafba83 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -23,11 +23,11 @@ jobs: run: go test ./... - name: Compress binary - if: ${{ github.ref == 'refs/remotes/origin/develop' || github.event_name == 'pull_request' }} + if: ${{ github.ref == 'refs/heads/develop' || github.event_name == 'pull_request' }} run: upx build/wings_linux_amd64 - uses: actions/upload-artifact@v2 - if: ${{ github.ref == 'refs/remotes/origin/develop' || github.event_name == 'pull_request' }} + if: ${{ github.ref == 'refs/heads/develop' || github.event_name == 'pull_request' }} with: name: wings_linux_amd64 path: build/wings_linux_amd64 \ No newline at end of file