Skip to content

Commit 6f139ea

Browse files
authored
Update maven.yml
1 parent 81c73fb commit 6f139ea

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/maven.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,6 @@ jobs:
2222
- name: Build with Maven
2323
run: mvn test jacoco:report --file pom.xml -B
2424

25-
- uses: codecov/codecov-action@v3
26-
with:
27-
file: target/site/jacoco/jacoco.xml
28-
name: codecov
29-
3025
build-windows:
3126

3227
runs-on: windows-latest
@@ -87,3 +82,11 @@ jobs:
8782
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8883
SONAR_TOKEN: 77e7b80c7f497f0861daa958b9a4320894af0948
8984
run: mvn -B test jacoco:report org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.organization=javadev-github -Dsonar.host.url=https://sonarcloud.io -Dsonar.projectKey=javadev_underscore-java11
85+
86+
- uses: codecov/codecov-action@v5
87+
with:
88+
files: target/site/jacoco/jacoco.xml
89+
name: codecov
90+
fail_ci_if_error: true
91+
env:
92+
CODECOV_TOKEN: 26562e18-0254-43a5-81a3-1eb721ea7e24

0 commit comments

Comments
 (0)