Skip to content

Commit

Permalink
bump up to v1.4.5
Browse files Browse the repository at this point in the history
  • Loading branch information
shogo82148 committed May 25, 2021
1 parent 826a678 commit 99fbad1
Show file tree
Hide file tree
Showing 17 changed files with 116 additions and 57 deletions.
Binary file modified bin/goveralls_darwin_amd64
Binary file not shown.
Binary file modified bin/goveralls_linux_amd64
Binary file not shown.
Binary file modified bin/goveralls_windows_amd64.exe
Binary file not shown.
33 changes: 2 additions & 31 deletions lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ async function run() {
await runner_1.goveralls({
token: core.getInput("github-token"),
profile: core.getInput("path-to-profile"),
parallel: parseBoolean(core.getInput("parallel") || "false"),
parallel_finished: parseBoolean(core.getInput("parallel-finished") || "false"),
parallel: core.getBooleanInput("parallel"),
parallel_finished: core.getBooleanInput("parallel-finished"),
flag_name: core.getInput("flag-name"),
working_directory: core.getInput("working-directory"),
ignore: core.getInput("ignore"),
Expand All @@ -37,33 +37,4 @@ async function run() {
core.setFailed(error.message);
}
}
function parseBoolean(s) {
switch (s) {
case "y":
case "Y":
case "yes":
case "Yes":
case "YES":
case "true":
case "True":
case "TRUE":
case "on":
case "On":
case "ON":
return true;
case "n":
case "N":
case "no":
case "No":
case "NO":
case "false":
case "False":
case "FALSE":
case "off":
case "Off":
case "OFF":
return false;
}
throw new Error(`invalid boolean value: ${s}`);
}
run();
16 changes: 11 additions & 5 deletions node_modules/@actions/core/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 15 additions & 2 deletions node_modules/@actions/core/lib/command.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion node_modules/@actions/core/lib/command.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 16 additions & 1 deletion node_modules/@actions/core/lib/core.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

56 changes: 48 additions & 8 deletions node_modules/@actions/core/lib/core.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 99fbad1

Please sign in to comment.