File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,16 +34,17 @@ jobs:
3434 java-version : ${{ matrix.java }}
3535 architecture : ${{ matrix.arch }}
3636
37- - name : Build with Maven
38- if : matrix.arch != 'x64' && matrix.os != 'ubuntu-latest' && matrix.java != '11'
39- run : mvn verify -B -"Dgpg.skip"
40-
4137 - name : Build with Maven
4238 if : matrix.arch == 'x64' && matrix.os == 'ubuntu-latest' && matrix.java == '11'
4339 env :
4440 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
4541 SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
46- run : mvn verify -B -"Dgpg.skip" org.sonarsource.scanner.maven:sonar-maven-plugin:sonar
42+ run : |
43+ if [[ "{{ matrix.arch }}" == "x64" && "{{ matrix.os }}" == "ubuntu-latest" && "{{ matrix.java }}" == "11" ]]; then
44+ mvn verify -B -"Dgpg.skip" org.sonarsource.scanner.maven:sonar-maven-plugin:sonar
45+ else
46+ mvn verify -B -"Dgpg.skip"
47+ fi;
4748
4849 release :
4950 if : github.ref == 'refs/heads/master'
You can’t perform that action at this time.
0 commit comments