From accc833e87098f9f615ff5ac98eca6bd5958c424 Mon Sep 17 00:00:00 2001 From: Matthew Penner Date: Tue, 19 Dec 2023 14:44:57 -0700 Subject: [PATCH] ci(push): only upload artifacts built with go 1.20.12 --- .github/workflows/push.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml index 21769c1..32dbac2 100644 --- a/.github/workflows/push.yaml +++ b/.github/workflows/push.yaml @@ -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