mirror of https://github.com/actions/toolkit
fix: changes baseURL to WARP_CACHE_URL
parent
0a21fc02b1
commit
bee057fd9e
|
@ -29,7 +29,7 @@ const versionSalt = '1.0'
|
||||||
|
|
||||||
function getCacheApiUrl(resource: string): string {
|
function getCacheApiUrl(resource: string): string {
|
||||||
const baseUrl: string =
|
const baseUrl: string =
|
||||||
process.env['ACTIONS_CACHE_URL'] ?? 'https://cache.warpbuild.com'
|
process.env['WARP_CACHE_URL'] ?? 'https://cache.warpbuild.com'
|
||||||
if (!baseUrl) {
|
if (!baseUrl) {
|
||||||
throw new Error('Cache Service Url not found, unable to restore cache.')
|
throw new Error('Cache Service Url not found, unable to restore cache.')
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue