1
0
Fork 0
mirror of https://code.forgejo.org/actions/cache.git synced 2025-04-19 19:46:17 +02:00

UPDATE cache restore

Fails the caches when there is random failure like a connection timeout
This commit is contained in:
Marcus Lau 2022-02-28 15:52:16 +11:00 committed by GitHub
parent c7c46bcb6d
commit c1d226baa6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -65,6 +65,7 @@ async function run(): Promise<void> {
} }
} catch (error) { } catch (error) {
core.setFailed(error.message); core.setFailed(error.message);
utils.setCacheHitOutput(false);
} }
} }