File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919 branches :
2020 - main
2121 paths :
22+ - ' .github/**'
2223 - ' sdk/**'
2324 - ' sdk-testing/**'
2425 - ' sdk-integration-tests/**'
@@ -61,14 +62,17 @@ jobs:
6162 run : mvn -B install --file pom.xml
6263
6364 - name : Generate JaCoCo Badge
64- if : ${{ github.ref == 'refs/heads/master' && matrix.java == 17 }}
65+ if : ${{ matrix.java == 17 }}
66+ # if: ${{ github.ref == 'refs/heads/main' && matrix.java == 17 }}
6567 uses : cicirello/jacoco-badge-generator@v2
6668 with :
67- jacoco-csv-file : build/reports/ jacoco/test/jacocoTestReport .csv
68- badges-directory : build/reports/jacoco/test/html/badges
69+ jacoco-csv-file : sdk/target/site/ jacoco/jacoco .csv
70+ badges-directory : sdk/target/site/jacoco
6971
7072 - name : Publish coverage report to GitHub Pages
71- if : ${{ github.ref == 'refs/heads/master' && matrix.java == 17 }}
73+ if : ${{ matrix.java == 17 }}
74+ # if: ${{ github.ref == 'refs/heads/coverage' && matrix.java == 17 }}
7275 uses : JamesIves/github-pages-deploy-action@v4
7376 with :
74- folder : build/reports/jacoco/test/html
77+ branch : docs/badge
78+ folder : sdk/target/site/jacoco
You can’t perform that action at this time.
0 commit comments