Skip to content

Commit 421f1f9

Browse files
JacksonTianyndu13
authored andcommitted
test: make coverage information more robust
1 parent 8bbe1a7 commit 421f1f9

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/maven.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,15 @@ jobs:
2121
java: [ 8, 11 ]
2222
name: Java ${{ matrix.Java }}
2323
steps:
24-
- uses: actions/checkout@v3
24+
- uses: actions/checkout@v4
2525
- name: Setup java
2626
uses: actions/setup-java@v2
2727
with:
2828
distribution: 'zulu'
2929
java-version: ${{ matrix.java }}
3030
- name: Test with Maven
3131
run: mvn test -B -f ./aliyun-java-sdk-core/pom.xml
32-
- name: Post test coverage
33-
run: bash <(curl -s https://codecov.io/bash) -cF java
32+
- name: Upload Coverage Report
33+
uses: codecov/codecov-action@v4
34+
with:
35+
token: ${{ secrets.CODECOV_TOKEN }} # required

0 commit comments

Comments
 (0)