Skip to content

Commit

Permalink
bump up to v1.4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
shogo82148 committed Mar 2, 2021
1 parent 6f9551b commit 12faef1
Show file tree
Hide file tree
Showing 9 changed files with 6,552 additions and 23 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.
16 changes: 11 additions & 5 deletions lib/runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
exports.goveralls = void 0;
const path = __importStar(require("path"));
const exec = __importStar(require("@actions/exec"));
const core = __importStar(require("@actions/core"));
async function goveralls(options) {
if (options.parallel_finished) {
await finish(options);
Expand Down Expand Up @@ -72,17 +73,22 @@ async function run(options) {
env[name] = value;
}
}
const args = [
`-coverprofile=${options.profile}`,
"-service=github",
`-ignore=${options.ignore}`,
];
const args = ["-service=github"];
if (options.profile) {
args.push(`-coverprofile=${options.profile}`);
}
if (options.ignore) {
args.push(`-ignore=${options.ignore}`);
}
if (options.parallel) {
args.push("-parallel");
if (options.flag_name !== "") {
args.push(`-flagname=${options.flag_name}`);
}
}
if (core.isDebug()) {
args.push("-debug");
}
await exec.exec(get_goveralls_path(), args, {
env: env,
cwd: options.working_directory,
Expand Down
6 changes: 1 addition & 5 deletions node_modules/@actions/core/package.json

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

6 changes: 1 addition & 5 deletions node_modules/@actions/exec/package.json

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

6 changes: 1 addition & 5 deletions node_modules/@actions/io/package.json

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

Loading

0 comments on commit 12faef1

Please sign in to comment.