mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2026-04-06 18:03:19 +08:00
Port restoreCache to new service
This commit is contained in:
1
packages/cache/src/internal/config.ts
vendored
1
packages/cache/src/internal/config.ts
vendored
@@ -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'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user