Don't edit index.js since that's not actually how you make changes

This commit is contained in:
Ella Kramer 2024-07-19 16:23:40 -04:00
parent 9806e2f37f
commit 12b3b8a0b8

View file

@ -59331,7 +59331,6 @@ var Outputs;
Outputs["CacheHit"] = "cache-hit";
Outputs["CachePrimaryKey"] = "cache-primary-key";
Outputs["CacheMatchedKey"] = "cache-matched-key"; // Output from restore action
Outputs["CachePath"] = "cache-path";
})(Outputs = exports.Outputs || (exports.Outputs = {}));
var State;
(function (State) {
@ -59408,10 +59407,6 @@ function restoreImpl(stateProvider, earlyExit) {
const primaryKey = core.getInput(constants_1.Inputs.Key, { required: true });
stateProvider.setState(constants_1.State.CachePrimaryKey, primaryKey);
const restoreKeys = utils.getInputAsArray(constants_1.Inputs.RestoreKeys);
// Output the inputted path unchanged
core.setOutput(constants_1.Outputs.CachePath, core.getInput(constants_1.Inputs.Path));
const cachePaths = utils.getInputAsArray(constants_1.Inputs.Path, {
required: true
});