diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c427e4c06..fc4c848e7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -97,7 +97,15 @@ jobs: go-version-file: 'go.mod' # Places generated Go files + UI build into the working tree so the build compiles - - name: Download generated artifacts + - name: Download generated artifacts (attempt 1) + uses: actions/download-artifact@v8 + id: download-generated-test-1 + continue-on-error: true + with: + name: generated + + - name: Download generated artifacts (attempt 2) + if: steps.download-generated-test-1.outcome == 'failure' uses: actions/download-artifact@v8 with: name: generated @@ -160,7 +168,15 @@ jobs: fetch-depth: 0 fetch-tags: true - - name: Download generated artifacts + - name: Download generated artifacts (attempt 1) + uses: actions/download-artifact@v8 + id: download-generated-build-1 + continue-on-error: true + with: + name: generated + + - name: Download generated artifacts (attempt 2) + if: steps.download-generated-build-1.outcome == 'failure' uses: actions/download-artifact@v8 with: name: generated @@ -208,7 +224,15 @@ jobs: fetch-tags: true # Downloads all artifacts (generated + 7 platform builds) into artifacts/ subdirectories - - name: Download all build artifacts + - name: Download all build artifacts (attempt 1) + uses: actions/download-artifact@v8 + id: download-all-release-1 + continue-on-error: true + with: + path: artifacts + + - name: Download all build artifacts (attempt 2) + if: steps.download-all-release-1.outcome == 'failure' uses: actions/download-artifact@v8 with: path: artifacts