mirror of
https://github.com/codecov/codecov-action.git
synced 2026-02-14 23:17:25 +00:00
move arguments section up
This commit is contained in:
parent
c2703ce7b6
commit
d1914c14b8
1 changed files with 9 additions and 10 deletions
19
README.md
19
README.md
|
|
@ -19,6 +19,15 @@ steps:
|
||||||
```
|
```
|
||||||
>**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.
|
||||||
|
|
||||||
|
## Arguments
|
||||||
|
|
||||||
|
| Input | Description | Usage |
|
||||||
|
| :---: | :---: | :---: |
|
||||||
|
| `token` | Used to authorize coverage report uploads | *Required only for private repos* |
|
||||||
|
| `file` | Location of the coverage report | Optional
|
||||||
|
| `flags` | Flag upload under a certain group name | Optional
|
||||||
|
| `name` | Custom defined name for the upload | Optional
|
||||||
|
|
||||||
### Example `workflow.yml` with Codecov Action
|
### Example `workflow.yml` with Codecov Action
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
|
@ -50,16 +59,6 @@ jobs:
|
||||||
name: codecov-1
|
name: codecov-1
|
||||||
```
|
```
|
||||||
|
|
||||||
## Arguments
|
|
||||||
|
|
||||||
| Input | Description | Usage |
|
|
||||||
| :---: | :---: | :---: |
|
|
||||||
| `token` | Used to authorize coverage report uploads | *Required only for private repos* |
|
|
||||||
| `file` | Location of the coverage report | Optional
|
|
||||||
| `flags` | Flag upload under a certain group name | Optional
|
|
||||||
| `name` | Custom defined name for the upload | Optional
|
|
||||||
|
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
The code in this project is released under the [MIT License](LICENSE)
|
The code in this project is released under the [MIT License](LICENSE)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue