Skip to content

Commit

Permalink
Bump to codecov-action@v4, support token as input argument
Browse files Browse the repository at this point in the history
  • Loading branch information
asvetlov committed Oct 29, 2024
1 parent ea4a2cb commit 4cc51bb
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ inputs:
description: 'Fail CI if error'
required: false
default: true
token:
description: 'Codecov token'
required: false
default: ''
runs:
using: "composite"
steps:
Expand All @@ -31,7 +35,9 @@ runs:
coverage xml
shell: bash
- name: Upload coverage
uses: codecov/codecov-action@v2.1.0
uses: codecov/codecov-action@v4
with:
files: coverage.xml
fail_ci_if_error: ${{ inputs.fail_ci_if_error }}
token: ${{ inputs.token }} # required
verbose: true # (default = false)

0 comments on commit 4cc51bb

Please sign in to comment.