mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2026-04-01 00:43:20 +08:00
Refactoring & cleanup
This commit is contained in:
2
packages/cache/src/cache.ts
vendored
2
packages/cache/src/cache.ts
vendored
@@ -64,7 +64,7 @@ function checkKey(key: string): void {
|
||||
*/
|
||||
|
||||
export function isFeatureAvailable(): boolean {
|
||||
return !!config.getCacheServiceVersion
|
||||
return !!process.env['ACTIONS_CACHE_URL']
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user