Fix typo in Inputs
This commit is contained in:
@@ -17,7 +17,7 @@ class CoreInputs {
|
|||||||
get artifacts() {
|
get artifacts() {
|
||||||
let artifacts = core.getInput('artifacts');
|
let artifacts = core.getInput('artifacts');
|
||||||
if (!artifacts) {
|
if (!artifacts) {
|
||||||
artifacts = core.getInput('artifacts');
|
artifacts = core.getInput('artifact');
|
||||||
}
|
}
|
||||||
if (artifacts) {
|
if (artifacts) {
|
||||||
let contentType = core.getInput('artifactContentType');
|
let contentType = core.getInput('artifactContentType');
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ export class CoreInputs implements Inputs {
|
|||||||
get artifacts(): Artifact[] {
|
get artifacts(): Artifact[] {
|
||||||
let artifacts = core.getInput('artifacts')
|
let artifacts = core.getInput('artifacts')
|
||||||
if (!artifacts) {
|
if (!artifacts) {
|
||||||
artifacts = core.getInput('artifacts')
|
artifacts = core.getInput('artifact')
|
||||||
}
|
}
|
||||||
if (artifacts) {
|
if (artifacts) {
|
||||||
let contentType = core.getInput('artifactContentType')
|
let contentType = core.getInput('artifactContentType')
|
||||||
|
|||||||
Reference in New Issue
Block a user