actions(build-test): fix artifacts not being uploaded

This commit is contained in:
Matthew Penner 2021-09-13 22:48:50 -06:00
parent e79694d6d2
commit e13b6d3cb0
No known key found for this signature in database
GPG Key ID: 030E4AB751DC756F

View File

@ -60,7 +60,7 @@ jobs:
run: go test ./...
- name: Upload Artifact
uses: actions/upload-artifact@v2
if: ${{ matrix.go == '^1.16' && (github.ref == 'refs/heads/develop' || github.event_name == 'pull_request') }}
if: ${{ github.ref == 'refs/heads/develop' || github.event_name == 'pull_request' }}
with:
name: wings_${{ matrix.goos }}_${{ matrix.goarch }}
path: build/wings_${{ matrix.goos }}_${{ matrix.goarch }}