mirror of
https://github.com/codecov/codecov-action.git
synced 2026-03-30 18:15:05 +00:00
test alternate exec cmd
This commit is contained in:
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(
|
||||||
|
|||||||
Reference in New Issue
Block a user