Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:25
erlang
0599-gh-Don-t-exclude-bootstrap-in-restor-when-...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0599-gh-Don-t-exclude-bootstrap-in-restor-when-cache-has-.patch of Package erlang
From 86c22952cf09baf38240c9a38169f20678d1b098 Mon Sep 17 00:00:00 2001 From: Lukas Larsson <lukas@erlang.org> Date: Wed, 21 Feb 2024 12:50:17 +0100 Subject: [PATCH] gh: Don't exclude bootstrap in restor when cache has been dropped --- .github/scripts/restore-from-prebuilt.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/scripts/restore-from-prebuilt.sh b/.github/scripts/restore-from-prebuilt.sh index 02e163de1f..669aee9a38 100755 --- a/.github/scripts/restore-from-prebuilt.sh +++ b/.github/scripts/restore-from-prebuilt.sh @@ -148,11 +148,13 @@ if [ -n "${ARCHIVE}" ]; then if grep "$(basename "${pt}")" "${CHANGES}"; then echo "Deleting entire cache as a parse transform has changed" >&2 rm -rf "${CACHE_DIR:?}/" + break fi done ## The cache was deleted, so break and don't use it if [ ! -d "${CACHE_DIR}" ]; then + EXCLUDE_BOOTSTRAP=() break; fi @@ -192,6 +194,7 @@ if [ -n "${ARCHIVE}" ]; then if [ "$i" = "10" ]; then echo "Deleting entire cache as it did not stabalize in trime" >&2 rm -rf "${CACHE_DIR:?}" + EXCLUDE_BOOTSTRAP=() else mv "${CHANGES}" "${PREV_CHANGES}" fi -- 2.35.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor