mirror of
https://github.com/actions/setup-node.git
synced 2026-02-14 09:44:53 +08:00
Added Node version to cache key
This commit is contained in:
@@ -62,7 +62,7 @@ export async function run() {
|
||||
if (cache && isCacheFeatureAvailable()) {
|
||||
core.saveState(State.CachePackageManager, cache);
|
||||
const cacheDependencyPath = core.getInput('cache-dependency-path');
|
||||
await restoreCache(cache, cacheDependencyPath);
|
||||
await restoreCache(cache, cacheDependencyPath, version);
|
||||
}
|
||||
|
||||
const matchersPath = path.join(__dirname, '../..', '.github');
|
||||
|
||||
Reference in New Issue
Block a user