mirror of
https://github.com/actions/cache.git
synced 2026-10-10 13:32:55 +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
+1
-1
@@ -18,7 +18,7 @@ async function run(): Promise<void> {
|
||||
const state = utils.getCacheState();
|
||||
|
||||
// Inputs are re-evaluted before the post action, so we want the original key used for restore
|
||||
const primaryKey = core.getState(State.CacheKey);
|
||||
const primaryKey = core.getState(State.CachePrimaryKey);
|
||||
if (!primaryKey) {
|
||||
utils.logWarning(`Error retrieving key from state.`);
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user