mirror of
https://github.com/codecov/codecov-action.git
synced 2025-12-23 20:27:02 +08:00
name, description edits
This commit is contained in:
@@ -10,9 +10,9 @@ Inside your `.github/workflows/workflow.yml` file:
|
|||||||
```yaml
|
```yaml
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@master
|
||||||
- uses: actions/codecov-action@v0.2
|
- uses: actions/codecov-action@v0.3
|
||||||
with:
|
with:
|
||||||
token: ${{secrets.CODECOV_TOKEN}} #optional
|
token: ${{secrets.CODECOV_TOKEN}} #for private repos
|
||||||
file: ./coverage.xml #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.
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
name: 'Codecov'
|
name: 'Codecov'
|
||||||
description: 'GitHub action that uploads coverage reports for your repository to codecov.io'
|
description: 'GitHub action that uploads coverage reports for your repository to codecov.io'
|
||||||
author: 'Ib @ Codecov'
|
author: 'Ibrahim Ali @ Codecov'
|
||||||
inputs:
|
inputs:
|
||||||
token:
|
token:
|
||||||
description: 'Set the repository token'
|
description: 'Set the repository token'
|
||||||
required: false
|
required: false
|
||||||
file:
|
file:
|
||||||
description: 'Path to coverage file'
|
description: 'Path to coverage file to upload'
|
||||||
required: false
|
required: false
|
||||||
branding:
|
branding:
|
||||||
color: 'red'
|
color: 'red'
|
||||||
|
|||||||
Reference in New Issue
Block a user