mirror of
https://code.forgejo.org/actions/cache.git
synced 2025-05-18 13:54:46 +00:00
Update typescript files to implement cachePath
This commit is contained in:
parent
12b3b8a0b8
commit
b0a3f6e7a6
3 changed files with 8 additions and 3 deletions
|
@ -32,6 +32,8 @@ export async function restoreImpl(
|
|||
const primaryKey = core.getInput(Inputs.Key, { required: true });
|
||||
stateProvider.setState(State.CachePrimaryKey, primaryKey);
|
||||
|
||||
stateProvider.setState(State.CachePath, core.getInput(Inputs.Path)); // Output path unchanged from input
|
||||
|
||||
const restoreKeys = utils.getInputAsArray(Inputs.RestoreKeys);
|
||||
const cachePaths = utils.getInputAsArray(Inputs.Path, {
|
||||
required: true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue