3
0
Fork 0
mirror of https://code.forgejo.org/actions/cache.git synced 2025-11-06 07:16:02 +00:00
This commit is contained in:
Eman Resu 2025-03-21 18:05:18 +09:00 committed by GitHub
commit ced0952007
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 32 additions and 13 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