Skip to content

Commit

Permalink
Correct input name
Browse files Browse the repository at this point in the history
  • Loading branch information
andstor committed Oct 24, 2022
1 parent 3135985 commit 20b4d2e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ function run() {
if (core.getInput('allow_failure')) {
core.warning(`❗The "allow_failure" variable is deprecated in favor of "fail"`);
}
const failure = ((core.getInput('failure') || 'false').toUpperCase() === 'TRUE') || allow_failure;
const failure = (core.getInput('fail') || 'false').toUpperCase() === 'TRUE' ||
allow_failure;
const fileList = files
.split(',')
.map((item) => item.trim());
Expand Down
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ async function run(): Promise<void> {
)
}
const failure: boolean =
(core.getInput('failure') || 'false').toUpperCase() === 'TRUE' ||
(core.getInput('fail') || 'false').toUpperCase() === 'TRUE' ||
allow_failure
const fileList: string[] = files
.split(',')
Expand Down

0 comments on commit 20b4d2e

Please sign in to comment.