Skip to content

Commit 4cc51bb

Browse files
committed
Bump to codecov-action@v4, support token as input argument
1 parent ea4a2cb commit 4cc51bb

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

action.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ inputs:
99
description: 'Fail CI if error'
1010
required: false
1111
default: true
12+
token:
13+
description: 'Codecov token'
14+
required: false
15+
default: ''
1216
runs:
1317
using: "composite"
1418
steps:
@@ -31,7 +35,9 @@ runs:
3135
coverage xml
3236
shell: bash
3337
- name: Upload coverage
34-
uses: codecov/codecov-action@v2.1.0
38+
uses: codecov/codecov-action@v4
3539
with:
3640
files: coverage.xml
3741
fail_ci_if_error: ${{ inputs.fail_ci_if_error }}
42+
token: ${{ inputs.token }} # required
43+
verbose: true # (default = false)

0 commit comments

Comments
 (0)