File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed
Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change 11name : bld-ci
22
3- on : [push, pull_request, workflow_dispatch]
3+ on : [ push, pull_request, workflow_dispatch ]
44
55jobs :
66 build-bld-project :
7- runs-on : ubuntu-latest
8-
97 env :
108 COVERAGE_JDK : " 17"
119
1210 strategy :
1311 matrix :
14- java-version : [17, 21, 24]
12+ java-version : [ 17, 21, 24 ]
13+ os : [ ubuntu-latest, windows-latest, macos-latest ]
14+
15+ runs-on : ${{ matrix.os }}
1516
1617 steps :
1718 - name : Checkout source repository
@@ -35,18 +36,18 @@ jobs:
3536 run : ./bld jacoco
3637
3738 - name : Remove pom.xml
38- if : success() && matrix.java-version == env.COVERAGE_JDK
39+ if : success() && matrix.java-version == env.COVERAGE_JDK && matrix.os == 'ubuntu-latest'
3940 run : rm -rf pom.xml
4041
4142 - name : SonarCloud Scan
4243 uses : sonarsource/sonarcloud-github-action@master
43- if : success() && matrix.java-version == env.COVERAGE_JDK
44+ if : success() && matrix.java-version == env.COVERAGE_JDK && matrix.os == 'ubuntu-latest'
4445 env :
4546 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
4647 SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
4748
4849 - name : Upload coverage reports to Codecov
4950 uses : codecov/codecov-action@v3
50- if : success() && matrix.java-version == env.COVERAGE_JDK
51+ if : success() && matrix.java-version == env.COVERAGE_JDK && matrix.os == 'ubuntu-latest'
5152 env :
5253 CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
You can’t perform that action at this time.
0 commit comments