-
-
Notifications
You must be signed in to change notification settings - Fork 482
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
.github/workflows/*build*.yml: Survive GHA cache upload timeouts
- Loading branch information
Matthias Koeppe
committed
Jun 5, 2024
1 parent
7fb0323
commit 5726013
Showing
3 changed files
with
25 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -105,6 +105,9 @@ jobs: | |
TARGETS=ci-build-with-fallback | ||
- name: Start container | ||
id: container | ||
# Try to continue when "exporting to GitHub Actions Cache" failed with timeout | ||
if: (success() || failure()) | ||
run: | | ||
docker run --name BUILD -dit \ | ||
--mount type=bind,src=$(pwd),dst=$(pwd) \ | ||
|
@@ -115,6 +118,7 @@ jobs: | |
|
||
- name: Store old docs | ||
id: worktree | ||
if: (success() || failure()) && steps.container.outcome == 'success' | ||
run: | | ||
git config --global --add safe.directory $(pwd) | ||
git config --global user.email "[email protected]" | ||
|
@@ -140,6 +144,7 @@ jobs: | |
- name: Build docs | ||
id: docbuild | ||
if: (success() || failure()) && steps.worktree.outcome == 'success' | ||
# Always non-incremental because of the concern that | ||
# incremental docbuild may introduce broken links (inter-file references) though build succeeds | ||
run: | | ||
|