mirror of
https://github.com/actions/cache.git
synced 2025-06-18 23:02:57 -06:00
Add support to opt-in enable cross-os caching on windows
This commit is contained in:
parent
365406cb70
commit
5e66b6cac9
13 changed files with 951 additions and 449 deletions
|
@ -52,6 +52,13 @@ export function getInputAsInt(
|
|||
return value;
|
||||
}
|
||||
|
||||
export function getInputAsBool(
|
||||
name: string,
|
||||
options?: core.InputOptions
|
||||
): boolean {
|
||||
return core.getBooleanInput(name, options);
|
||||
}
|
||||
|
||||
export function isCacheFeatureAvailable(): boolean {
|
||||
if (cache.isFeatureAvailable()) {
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue