mirror of
https://code.forgejo.org/actions/cache.git
synced 2025-04-23 17:23:59 +08:00
updated
This commit is contained in:
parent
28ac5a0345
commit
d7b864c258
2 changed files with 4 additions and 1 deletions
|
@ -25,7 +25,8 @@ async function run(): Promise<void> {
|
|||
}
|
||||
|
||||
const state = utils.getCacheState();
|
||||
|
||||
core.info(core.getState(State.SaveCache));
|
||||
core.info(core.getState(State.CachePrimaryKey));
|
||||
// Inputs are re-evaluted before the post action, so we want the original key used for restore
|
||||
const primaryKey =
|
||||
core.getState(State.CachePrimaryKey) || core.getInput(Inputs.Key);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue