React to feeback and change to use 0.2.0 cache package

This commit is contained in:
Aiqiao Yan committed 2020-05-19 15:53:25 -04:00
1 parent 249a22026d
commit bcc23b930f
10 files changed
+5098 -5604

No files matched your search

+2 -2
View File
@@ -17,7 +17,7 @@ async function run(): Promise<void> {
}
const primaryKey = core.getInput(Inputs.Key, { required: true });
core.saveState(State.CacheKey, primaryKey);
core.saveState(State.CachePrimaryKey, primaryKey);
const restoreKeys = core
.getInput(Inputs.RestoreKeys)
@@ -45,7 +45,7 @@ async function run(): Promise<void> {
return;
}
// Store the cache result
// Store the matched cache key
utils.setCacheState(cacheKey);
const isExactKeyMatch = utils.isExactKeyMatch(primaryKey, cacheKey);