Port restoreCache to new service

This commit is contained in:
Bassem Dghaidi
2024-10-09 04:32:57 -07:00
committed by GitHub
parent e62c6428e7
commit 13abc95165
2 changed files with 60 additions and 11 deletions

View File

@@ -6,6 +6,7 @@ export function getRuntimeToken(): string {
return token
}
// TODO: Use the feature flag to determine the cache service version
export function getCacheServiceVersion(): string {
return process.env['ACTIONS_CACHE_SERVICE_VERSION'] || 'v1'
}