Skip to content

Commit

Permalink
ci(push): only upload artifacts built with go 1.20.12
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewpi committed Dec 19, 2023
1 parent d4bfdd4 commit accc833
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,14 @@ jobs:
- name: Upload Release Artifact
uses: actions/upload-artifact@v4
if: ${{ github.ref == 'refs/heads/develop' || github.event_name == 'pull_request' }}
if: ${{ (github.ref == 'refs/heads/develop' || github.event_name == 'pull_request') && matrix.go == '1.20.12' }}
with:
name: wings_linux_${{ matrix.goarch }}
path: dist/wings

- name: Upload Debug Artifact
uses: actions/upload-artifact@v4
if: ${{ github.ref == 'refs/heads/develop' || github.event_name == 'pull_request' }}
if: ${{ (github.ref == 'refs/heads/develop' || github.event_name == 'pull_request') && matrix.go == '1.20.12' }}
with:
name: wings_linux_${{ matrix.goarch }}_debug
path: dist/wings_debug

0 comments on commit accc833

Please sign in to comment.