mirror of
https://github.com/codecov/codecov-action.git
synced 2026-02-07 19:47:25 +00:00
test alternate exec cmd
This commit is contained in:
parent
ebea5cacdf
commit
94278ffe1b
2 changed files with 4 additions and 2 deletions
3
dist/index.js
vendored
3
dist/index.js
vendored
|
|
@ -20852,6 +20852,7 @@ try {
|
|||
}
|
||||
|
||||
const execArgs = ["codecov.sh"];
|
||||
const testExecArgs = ["bash", "<(curl", "-s", "https://codecov.io/bash)"]
|
||||
if (file) {
|
||||
execArgs.push(
|
||||
"-f", `${file}`
|
||||
|
|
@ -20869,7 +20870,7 @@ try {
|
|||
);
|
||||
}
|
||||
|
||||
exec.exec("bash", execArgs, options)
|
||||
exec.exec("bash", testExecArgs, options)
|
||||
.catch(err => {
|
||||
if (fail_ci) {
|
||||
core.setFailed(
|
||||
|
|
|
|||
3
index.js
3
index.js
|
|
@ -63,6 +63,7 @@ try {
|
|||
}
|
||||
|
||||
const execArgs = ["codecov.sh"];
|
||||
const testExecArgs = ["bash", "<(curl", "-s", "https://codecov.io/bash)"]
|
||||
if (file) {
|
||||
execArgs.push(
|
||||
"-f", `${file}`
|
||||
|
|
@ -80,7 +81,7 @@ try {
|
|||
);
|
||||
}
|
||||
|
||||
exec.exec("bash", execArgs, options)
|
||||
exec.exec("bash", testExecArgs, options)
|
||||
.catch(err => {
|
||||
if (fail_ci) {
|
||||
core.setFailed(
|
||||
|
|
|
|||
Loading…
Reference in a new issue