From a4dba2e03e0bd94856aaa3a97804a8ee987db4d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cibrahim0814=E2=80=9D?= Date: Wed, 7 Aug 2019 12:01:44 -0700 Subject: [PATCH] add documentation for file path --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a9b6a07..b37a909 100644 --- a/README.md +++ b/README.md @@ -12,9 +12,10 @@ steps: - uses: actions/checkout@master - uses: actions/codecov-action@v0.2 with: - token: ${{secrets.CODECOV_TOKEN}} + token: ${{secrets.CODECOV_TOKEN}} #optional + file: ./coverage.xml #optional ``` ->**Note**: This assumes that you've set your Codecov token inside settings > secrets as `CODECOV_TOKEN`. If not, you can get an upload token for your specific repo on codecov.io. A token is not required for public repositories. +>**Note**: This assumes that you've set your Codecov token inside settings > secrets as `CODECOV_TOKEN`. If not, you can get an upload token for your specific repo on codecov.io. A token is *not* required for public repositories. ### Example `workflow.yml` with Codecov Action @@ -42,6 +43,7 @@ jobs: uses: codecov/codecov-action@v0.2 with: token: ${{secrets.CODECOV_TOKEN}} + file: ./coverage.xml ``` ## Arguments @@ -49,6 +51,7 @@ jobs: | Argument | Description | | :---: | :---: | | `token` | Used to authorize coverage report uploads | +| `file` | Location of the coverage report | ## License