1
0
Fork 0
mirror of https://code.forgejo.org/actions/cache.git synced 2025-05-10 11:19:53 +02:00

Default to GITHUB_ACTIONS_CACHE_URL

This commit is contained in:
Sindri Guðmundsson 2021-11-04 11:03:51 +00:00 committed by Davíð Guðni
parent df46e813e6
commit 556f8d8b36
3 changed files with 8 additions and 0 deletions

View file

@ -36348,6 +36348,9 @@ function setActionsCacheUrl() {
if (requestedCacheUrl) {
process.env.ACTIONS_CACHE_URL = requestedCacheUrl;
}
else if (process.env.GITHUB_ACTIONS_CACHE_URL) {
process.env.ACTIONS_CACHE_URL = process.env.GITHUB_ACTIONS_CACHE_URL;
}
}
exports.setActionsCacheUrl = setActionsCacheUrl;
function setCacheState(state) {