diff --git a/lib/Inputs.js b/lib/Inputs.js index 5ca56ba..1885922 100644 --- a/lib/Inputs.js +++ b/lib/Inputs.js @@ -17,7 +17,7 @@ class CoreInputs { get artifacts() { let artifacts = core.getInput('artifacts'); if (!artifacts) { - artifacts = core.getInput('artifacts'); + artifacts = core.getInput('artifact'); } if (artifacts) { let contentType = core.getInput('artifactContentType'); diff --git a/src/Inputs.ts b/src/Inputs.ts index a2d5d78..6dc0091 100644 --- a/src/Inputs.ts +++ b/src/Inputs.ts @@ -26,7 +26,7 @@ export class CoreInputs implements Inputs { get artifacts(): Artifact[] { let artifacts = core.getInput('artifacts') if (!artifacts) { - artifacts = core.getInput('artifacts') + artifacts = core.getInput('artifact') } if (artifacts) { let contentType = core.getInput('artifactContentType')