mirror of
https://github.com/stashapp/stash.git
synced 2026-05-09 05:05:29 +02:00
Retry artifact downloads in CI workflow
This commit is contained in:
parent
ff72d3264a
commit
3e470a1b32
1 changed files with 27 additions and 3 deletions
30
.github/workflows/build.yml
vendored
30
.github/workflows/build.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue