From 5ec4f61a4754bd50e4a7a489fc55a83d36077b0a Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Mon, 22 Jan 2024 17:16:31 +0100 Subject: [PATCH] ghactions: Don't upload artifacts multiple times With the addition of a matrix of go versions to test the build with, the artifact upload will also be run multiple time. If they run concurrently, this will cause unexpected upload failures. Only publish the '1.21.x' artifact. --- .github/workflows/go.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index f45b41833..0341ec842 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -29,6 +29,7 @@ jobs: mv bin/gvproxy.exe bin/gvproxy-windowsgui.exe - uses: actions/upload-artifact@v3 + if: ${{ matrix.go-version == "1.21.x" }} with: name: gvisor-tap-vsock-binaries path: bin/*