Skip to content

Commit d9547d8

Browse files
committed
Fixes skupperproject#1427: update codecov/codecov-action v4 API
Closes skupperproject#1427
1 parent bab0140 commit d9547d8

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/build.yaml

+5-2
Original file line numberDiff line numberDiff line change
@@ -797,17 +797,18 @@ jobs:
797797
if: ${{ !cancelled() && matrix.buildType == 'Coverage' }}
798798
working-directory: ${{env.RouterBuildDir}}
799799
run: |
800-
dnf install -y lcov
800+
dnf install -y lcov git
801801
cmake --build . --target coverage
802802
803803
# https://github.com/codecov/codecov-action
804804
- name: Upload C Coverage
805805
if: ${{ !cancelled() && matrix.buildType == 'Coverage' }}
806806
uses: codecov/codecov-action@v4
807+
env:
808+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
807809
with:
808810
flags: ${{matrix.covType}}tests
809811
verbose: true
810-
gcov: true
811812
name: skupper-router
812813
root_dir: .
813814
working-directory: ${{github.workspace}}/skupper-router
@@ -822,6 +823,8 @@ jobs:
822823
- name: Upload Python Coverage
823824
if: ${{ !cancelled() && matrix.buildType == 'Coverage' }}
824825
uses: codecov/codecov-action@v4
826+
env:
827+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
825828
with:
826829
flags: py${{matrix.covType}}tests
827830
verbose: true

0 commit comments

Comments
 (0)