3
0
Fork 0
mirror of https://code.forgejo.org/actions/cache.git synced 2026-02-18 16:44:25 +00:00
This commit is contained in:
Eman Resu 2025-10-14 00:09:05 +05:30 committed by GitHub
commit 8094c051df
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