Update typescript files to implement cachePath

This commit is contained in:
Ella Kramer 2024-07-19 17:16:09 -04:00
parent 12b3b8a0b8
commit b0a3f6e7a6
3 changed files with 8 additions and 3 deletions

View file

@ -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