Retry artifact downloads in CI workflow

This commit is contained in:
Slick Daddy 2026-05-08 21:35:44 +03:00
parent ff72d3264a
commit 3e470a1b32

View file

@ -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