mirror of
https://github.com/actions/cache.git
synced 2025-04-22 03:56:45 +00:00
React to feeback and change to use 0.2.0 cache package
This commit is contained in:
parent
249a22026d
commit
bcc23b930f
10 changed files with 5098 additions and 5604 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue