guessing the ref name

This commit is contained in:
Jakob Schrettenbrunner 2020-07-05 00:10:35 +02:00
parent 13b89b93f2
commit a110d5768f

View File

@ -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