mirror of
https://github.com/codecov/codecov-action.git
synced 2025-12-08 16:16:24 +00:00
Add dist file
This commit is contained in:
15
dist/index.js
vendored
15
dist/index.js
vendored
@@ -2520,6 +2520,7 @@ const fs = __webpack_require__(747);
|
||||
const request = __webpack_require__(335);
|
||||
|
||||
let fail_ci;
|
||||
let verbose;
|
||||
try {
|
||||
const name = core.getInput("name");
|
||||
const token = core.getInput("token");
|
||||
@@ -2529,12 +2530,12 @@ try {
|
||||
const env_vars = core.getInput("env_vars");
|
||||
const dir = core.getInput("directory");
|
||||
const write_path = core.getInput("path_to_write_report");
|
||||
const verbose = core.getInput("verbose");
|
||||
const working_dir = core.getInput("working-directory");
|
||||
const xcode_derived_data = core.getInput("xcode_derived_data");
|
||||
const xcode_package = core.getInput("xcode_package");
|
||||
|
||||
fail_ci = core.getInput("fail_ci_if_error").toLowerCase();
|
||||
verbose = core.getInput("verbose").toLowerCase();
|
||||
|
||||
if (
|
||||
fail_ci === "yes" ||
|
||||
@@ -2548,6 +2549,18 @@ try {
|
||||
fail_ci = false;
|
||||
}
|
||||
|
||||
if (
|
||||
verbose === "yes" ||
|
||||
verbose === "y" ||
|
||||
verbose === "true" ||
|
||||
verbose === "t" ||
|
||||
verbose === "1"
|
||||
) {
|
||||
verbose = true;
|
||||
} else {
|
||||
verbose = false;
|
||||
}
|
||||
|
||||
request({
|
||||
json: false,
|
||||
maxAttempts: 10,
|
||||
|
||||
@@ -2,3 +2,4 @@
|
||||
|
||||
npm i --package-lock-only
|
||||
npm run build
|
||||
git add dist/index.js
|
||||
|
||||
Reference in New Issue
Block a user