make binary built by actions executable

This commit is contained in:
Jakob Schrettenbrunner 2020-07-05 00:19:29 +02:00
parent 5ef58cadee
commit 7516ef1aa4

View File

@ -22,9 +22,9 @@ jobs:
- name: Test - name: Test
run: go test ./... run: go test ./...
- name: Compress binary - name: Compress binary and make it executable
if: ${{ github.ref == 'refs/heads/develop' || github.event_name == 'pull_request' }} if: ${{ github.ref == 'refs/heads/develop' || github.event_name == 'pull_request' }}
run: upx build/wings_linux_amd64 run: upx build/wings_linux_amd64 && chmod +x build/wings_linux_amd64
- uses: actions/upload-artifact@v2 - uses: actions/upload-artifact@v2
if: ${{ github.ref == 'refs/heads/develop' || github.event_name == 'pull_request' }} if: ${{ github.ref == 'refs/heads/develop' || github.event_name == 'pull_request' }}