Skip to content

Commit ed8389b

Browse files
authored
chore: Use codecov token for code report uploads (#3045)
1 parent 7a6ba86 commit ed8389b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/codecov_code_coverage.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,9 @@ on:
88
push:
99
branches:
1010
- 'main'
11-
- 'v1'
1211
pull_request:
1312
branches:
1413
- 'main'
15-
- 'v1'
1614

1715
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1816
jobs:
@@ -42,7 +40,9 @@ jobs:
4240
run: cp -r /home/runner/work/amplify-android/amplify-android/**/build/reports/kover/xml/*.xml /home/runner/work/amplify-android/amplify-android/code-coverage/
4341

4442
- name: Upload Test Report
45-
uses: codecov/codecov-action@v3
43+
uses: codecov/codecov-action@v5
4644
with:
4745
name: report
4846
files: code-coverage/*.xml
47+
env:
48+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)