mirror of
https://github.com/codecov/codecov-action.git
synced 2026-04-17 19:52:36 +08:00
Merge branch 'master' into directory-and-debug
This commit is contained in:
9
index.js
9
index.js
@@ -9,6 +9,7 @@ try {
|
||||
const token = core.getInput("token");
|
||||
const flags = core.getInput("flags");
|
||||
const file = core.getInput("file");
|
||||
const files = core.getInput("files");
|
||||
const env_vars = core.getInput("env_vars");
|
||||
const dir = core.getInput("directory");
|
||||
const write_path = core.getInput("path_to_write_report");
|
||||
@@ -85,6 +86,14 @@ try {
|
||||
);
|
||||
}
|
||||
|
||||
if (files) {
|
||||
files.split(',').forEach(f => {
|
||||
execArgs.push(
|
||||
"-f", `${f}`
|
||||
);
|
||||
});
|
||||
}
|
||||
|
||||
if (dir) {
|
||||
execArgs.push(
|
||||
"-s", `${dir}`
|
||||
|
||||
Reference in New Issue
Block a user