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
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- uses: actions/codecov-action@v0.2
|
||||
- uses: actions/codecov-action@v0.3
|
||||
with:
|
||||
token: ${{secrets.CODECOV_TOKEN}} #optional
|
||||
token: ${{secrets.CODECOV_TOKEN}} #for private repos
|
||||
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.
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
name: 'Codecov'
|
||||
description: 'GitHub action that uploads coverage reports for your repository to codecov.io'
|
||||
author: 'Ib @ Codecov'
|
||||
author: 'Ibrahim Ali @ Codecov'
|
||||
inputs:
|
||||
token:
|
||||
description: 'Set the repository token'
|
||||
required: false
|
||||
file:
|
||||
description: 'Path to coverage file'
|
||||
description: 'Path to coverage file to upload'
|
||||
required: false
|
||||
branding:
|
||||
color: 'red'
|
||||
|
||||
Reference in New Issue
Block a user