mirror of
https://github.com/codecov/codecov-action.git
synced 2025-12-23 20:27:02 +08:00
readme
This commit is contained in:
@@ -5,6 +5,8 @@
|
|||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
|
To integrate Codecov with your Actions pipline, specify the name of this repository with a tag number as a 'step' within your 'workflow.yml' file. Optionally, you can choose to include up to four different inputs to customize the upload context.
|
||||||
|
|
||||||
Inside your `.github/workflows/workflow.yml` file:
|
Inside your `.github/workflows/workflow.yml` file:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
@@ -21,6 +23,8 @@ steps:
|
|||||||
|
|
||||||
## Arguments
|
## Arguments
|
||||||
|
|
||||||
|
Codecov's Action currently supports four inputs from the user: `token`, `file`, `flags`, and `name`. These inputs help users contexualize more information about their upload on [codecov.io](https://www.codecov.io).
|
||||||
|
|
||||||
| Input | Description | Usage |
|
| Input | Description | Usage |
|
||||||
| :---: | :---: | :---: |
|
| :---: | :---: | :---: |
|
||||||
| `token` | Used to authorize coverage report uploads | *Required only for private repos* |
|
| `token` | Used to authorize coverage report uploads | *Required only for private repos* |
|
||||||
|
|||||||
Reference in New Issue
Block a user