@ -6405,6 +6405,9 @@ function getInputs() {
const retentionDaysStr = core.getInput(constants_1.Inputs.RetentionDays);
if (retentionDaysStr) {
inputs.retentionDays = parseInt(retentionDaysStr);
if (isNaN(inputs.retentionDays)) {
core.setFailed('Invalid retention-days');
}
return inputs;
@ -31,6 +31,9 @@ export function getInputs(): UploadInputs {
const retentionDaysStr = core.getInput(Inputs.RetentionDays)
inputs.retentionDays = parseInt(retentionDaysStr)
core.setFailed('Invalid retention-days')
return inputs