From 4b062cb89c1fe1fd7da7e013d554a088ea14178a Mon Sep 17 00:00:00 2001 From: Moshe Azaria <93254117+moshe-azaria-sage@users.noreply.github.com> Date: Tue, 28 Feb 2023 17:35:13 +0200 Subject: [PATCH] Update README to contain correct information - inputs and negate feature (#901) * update user inputs sentence and avoid how many and which, leave it to the table * Missing negate usage of `files`, added example --------- Co-authored-by: Tom Hu <88201630+thomasrockhu-codecov@users.noreply.github.com> --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 769ceb1f7..85e44cc20 100644 --- a/README.md +++ b/README.md @@ -46,12 +46,12 @@ steps: ## Arguments -Codecov's Action currently supports five inputs from the user: `token`, `files`, `flags`,`name`, and `fail_ci_if_error`. These inputs, along with their descriptions and usage contexts, are listed in the table below: +Codecov's Action supports inputs from the user. These inputs, along with their descriptions and usage contexts, are listed in the table below: | Input | Description | Usage | | :---: | :---: | :---: | | `token` | Used to authorize coverage report uploads | *Required for private repos* | -| `files` | Comma-separated paths to the coverage report(s) | Optional +| `files` | Comma-separated paths to the coverage report(s). Negated paths are supported by starting with `!` | Optional | `directory` | Directory to search for coverage reports. | Optional | `dry_run` | Don't upload files to Codecov | Optional | `flags` | Flag the upload to group coverage metrics (unittests, uitests, etc.). Multiple flags are separated by a comma (ui,chrome) | Optional @@ -113,7 +113,7 @@ jobs: directory: ./coverage/reports/ env_vars: OS,PYTHON fail_ci_if_error: true - files: ./coverage1.xml,./coverage2.xml + files: ./coverage1.xml,./coverage2.xml,!./cache flags: unittests name: codecov-umbrella verbose: true