mirror of
https://code.forgejo.org/actions/cache.git
synced 2025-04-23 03:45:31 +00:00
Merge branch '700-actionscache-granular-cache-control' into bishal/outputter
This commit is contained in:
commit
34e917cb7d
3 changed files with 2630 additions and 2558 deletions
|
@ -23,7 +23,7 @@ async function restoreImpl(outputter: IStateProvider): Promise<string | undefine
|
|||
}
|
||||
|
||||
const primaryKey = core.getInput(Inputs.Key, { required: true });
|
||||
outputter.setState(State.CachePrimaryKey, primaryKey);
|
||||
stateProvider.setState(State.CachePrimaryKey, primaryKey);
|
||||
|
||||
const restoreKeys = utils.getInputAsArray(Inputs.RestoreKeys);
|
||||
const cachePaths = utils.getInputAsArray(Inputs.Path, {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue