mirror of
https://github.com/actions/cache.git
synced 2026-10-01 09:01:44 +00:00
React to feeback and change to use 0.2.0 cache package
This commit is contained in:
1 parent
249a22026d
commit
bcc23b930f
10 files changed
+5098
-5604
No files matched your search
+2
-2
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user