fix typos

This commit is contained in:
Samuel Colvin
2020-04-04 14:00:57 +01:00
parent e866b3854d
commit 1804a456ff
4 changed files with 17 additions and 18 deletions

View File

@@ -37,7 +37,7 @@ Codecov's Action currently supports five inputs from the user: `token`, `file`,
| `token` | Used to authorize coverage report uploads | *Required for private repos* |
| `file` | Path to the coverage report(s) | Optional
| `flags` | Flag the upload to group coverage metrics (unittests, uitests, etc.). Multiple flags are separated by a comma (ui,chrome) | Optional
| `env_vars` | Environment variable to take the upload with. Multiple env variables can be multiple separated with commas (e.g. `OS,PYTHON`) | Optional
| `env_vars` | Environment variables to tag the upload with. Multiple env variables can be separated with commas (e.g. `OS,PYTHON`) | Optional
| `name` | Custom defined name for the upload | Optional
| `fail_ci_if_error` | Specify if CI pipeline should fail when Codecov runs into errors during upload. *Defaults to **false*** | Optional

View File

@@ -15,7 +15,7 @@ inputs:
description: 'Flag upload to group coverage metrics (e.g. unittests | integration | ui,chrome)'
required: false
env_vars:
description: 'Environment variable to take the upload with, can be multiple separated with commas'
description: 'Environment variables to tag the upload with (e.g. PYTHON | OS,PYTHON)'
required: false
fail_ci_if_error:
description: 'Specify whether or not CI build should fail if Codecov runs into an error during upload'
@@ -26,4 +26,3 @@ branding:
runs:
using: 'node12'
main: 'dist/index.js'

2
dist/index.js vendored
View File

@@ -2342,7 +2342,7 @@ try {
const token = core.getInput("token");
const flags = core.getInput("flags");
const file = core.getInput("file");
let env_vars = core.getInput("env_vars");
const env_vars = core.getInput("env_vars");
fail_ci = core.getInput("fail_ci_if_error").toLowerCase();
if (

View File

@@ -9,7 +9,7 @@ try {
const token = core.getInput("token");
const flags = core.getInput("flags");
const file = core.getInput("file");
let env_vars = core.getInput("env_vars");
const env_vars = core.getInput("env_vars");
fail_ci = core.getInput("fail_ci_if_error").toLowerCase();
if (