mirror of
https://github.com/codecov/codecov-action.git
synced 2026-02-16 16:01:44 +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 execArgs = ["codecov.sh"];
|
||||||
|
const testExecArgs = ["bash", "<(curl", "-s", "https://codecov.io/bash)"]
|
||||||
if (file) {
|
if (file) {
|
||||||
execArgs.push(
|
execArgs.push(
|
||||||
"-f", `${file}`
|
"-f", `${file}`
|
||||||
|
|
@ -20869,7 +20870,7 @@ try {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
exec.exec("bash", execArgs, options)
|
exec.exec("bash", testExecArgs, options)
|
||||||
.catch(err => {
|
.catch(err => {
|
||||||
if (fail_ci) {
|
if (fail_ci) {
|
||||||
core.setFailed(
|
core.setFailed(
|
||||||
|
|
|
||||||
3
index.js
3
index.js
|
|
@ -63,6 +63,7 @@ try {
|
||||||
}
|
}
|
||||||
|
|
||||||
const execArgs = ["codecov.sh"];
|
const execArgs = ["codecov.sh"];
|
||||||
|
const testExecArgs = ["bash", "<(curl", "-s", "https://codecov.io/bash)"]
|
||||||
if (file) {
|
if (file) {
|
||||||
execArgs.push(
|
execArgs.push(
|
||||||
"-f", `${file}`
|
"-f", `${file}`
|
||||||
|
|
@ -80,7 +81,7 @@ try {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
exec.exec("bash", execArgs, options)
|
exec.exec("bash", testExecArgs, options)
|
||||||
.catch(err => {
|
.catch(err => {
|
||||||
if (fail_ci) {
|
if (fail_ci) {
|
||||||
core.setFailed(
|
core.setFailed(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue