File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 4545 architecture : ${{ matrix.arch }}
4646
4747 - name : Build with Maven
48- if : " ${{ !(matrix.arch == 'x64' && matrix.os == 'ubuntu-20.04' && matrix.java == '11') || github.event.pull_request.head.repo.full_name != 'dnsjava/dnsjava' }}"
48+ if : " ${{ !(matrix.arch == 'x64' && matrix.os == 'ubuntu-20.04' && matrix.java == '11') || ( github.event.type == 'PullRequestEvent' && github.event. pull_request.head.repo.full_name != 'dnsjava/dnsjava') }}"
4949 run : mvn verify -B -"Dgpg.skip"
5050
5151 # doesn't work with PRs from forks, see https://jira.sonarsource.com/browse/MMF-1371
5454 env :
5555 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
5656 SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
57- run : mvn -X - B -"Dgpg.skip" verify jacoco:report org.sonarsource.scanner.maven:sonar-maven-plugin:sonar
57+ run : mvn -B -"Dgpg.skip" verify jacoco:report org.sonarsource.scanner.maven:sonar-maven-plugin:sonar
5858
5959 - name : Run codecovc
6060 if : " ${{ matrix.arch == 'x64' && matrix.os == 'ubuntu-20.04' && matrix.java == '11' }}"
You can’t perform that action at this time.
0 commit comments