Skip to content

Commit 9609888

Browse files
authored
Update maven.yml
revive the coverage step
1 parent 7c81a29 commit 9609888

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/maven.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
name: Poiji Build
2-
32
on: [push, pull_request]
4-
53
jobs:
64
build:
75
runs-on: ubuntu-latest
@@ -10,10 +8,12 @@ jobs:
108
- name: Set up JDK 11
119
uses: actions/setup-java@v2
1210
with:
13-
java-version: '11'
14-
distribution: 'adopt'
11+
java-version: "11"
12+
distribution: "adopt"
1513
cache: maven
1614
- name: Build and Test with Maven
1715
run: mvn clean -B package --file pom.xml -P coverage
18-
- name: Codecov GitHub Action
19-
uses: codecov/codecov-action@v2
16+
- name: Upload coverage reports to Codecov
17+
uses: codecov/codecov-action@v4.0.1
18+
with:
19+
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)