mirror of
https://github.com/codecov/codecov-action.git
synced 2026-02-17 16:31:45 +00:00
Fix passing token example in README.md
The examples in the README are currently not working. One has to pass the token in the `with:` key, just like is done in the CI Actions in this repo.
This commit is contained in:
parent
f30e4959ba
commit
5085092a6e
1 changed files with 0 additions and 2 deletions
|
|
@ -40,7 +40,6 @@ steps:
|
||||||
name: codecov-umbrella # optional
|
name: codecov-umbrella # optional
|
||||||
fail_ci_if_error: true # optional (default = false)
|
fail_ci_if_error: true # optional (default = false)
|
||||||
verbose: true # optional (default = false)
|
verbose: true # optional (default = false)
|
||||||
env:
|
|
||||||
token: ${{ secrets.CODECOV_TOKEN }}
|
token: ${{ secrets.CODECOV_TOKEN }}
|
||||||
```
|
```
|
||||||
>**Note**: This assumes that you've set your Codecov token inside *Settings > Secrets* as `CODECOV_TOKEN`. If not, you can [get an upload token](https://docs.codecov.io/docs/frequently-asked-questions#section-where-is-the-repository-upload-token-found-) for your specific repo on [codecov.io](https://www.codecov.io). Keep in mind that secrets are *not* available to forks of 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](https://docs.codecov.io/docs/frequently-asked-questions#section-where-is-the-repository-upload-token-found-) for your specific repo on [codecov.io](https://www.codecov.io). Keep in mind that secrets are *not* available to forks of repositories.
|
||||||
|
|
@ -126,7 +125,6 @@ jobs:
|
||||||
flags: unittests
|
flags: unittests
|
||||||
name: codecov-umbrella
|
name: codecov-umbrella
|
||||||
verbose: true
|
verbose: true
|
||||||
env:
|
|
||||||
token: ${{ secrets.CODECOV_TOKEN }}
|
token: ${{ secrets.CODECOV_TOKEN }}
|
||||||
```
|
```
|
||||||
## Contributing
|
## Contributing
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue