mirror of
https://gitea.com/actions/setup-node.git
synced 2025-07-06 20:59:05 +08:00
Support caching for mono repos and repositories with complex structure
This commit is contained in:
@ -51,7 +51,8 @@ export async function run() {
|
||||
if (isGhes()) {
|
||||
throw new Error('Caching is not supported on GHES');
|
||||
}
|
||||
await restoreCache(cache);
|
||||
const cacheDependencyPath = core.getInput('cache-dependency-path');
|
||||
await restoreCache(cache, cacheDependencyPath);
|
||||
}
|
||||
|
||||
const matchersPath = path.join(__dirname, '../..', '.github');
|
||||
|
Reference in New Issue
Block a user