From d812721a39b96e52b81aa7142fe7c2541198e247 Mon Sep 17 00:00:00 2001 From: Nick Cipollo Date: Mon, 2 Sep 2019 21:36:30 -0400 Subject: [PATCH] Fix typo in Inputs --- lib/Inputs.js | 2 +- src/Inputs.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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')