-
-
Notifications
You must be signed in to change notification settings - Fork 678
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change Java version condition in workflow
- Loading branch information
1 parent
fb0c96f
commit ff656a7
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,14 +52,14 @@ jobs: | |
max_attempts: 3 | ||
command: mvn -B test -Dtest=!Docker* | ||
- name: Upload analysis to SonarCloud | ||
if: success() && matrix.os == 'ubuntu-latest' && !contains(github.ref, 'pull') | ||
if: success() && matrix.os == 'ubuntu-latest' && matrix.java == '17' && !contains(github.ref, 'pull') | ||
run: > | ||
mvn -B sonar:sonar | ||
-Dsonar.host.url=https://sonarcloud.io | ||
-Dsonar.organization=bonigarcia-github | ||
-Dsonar.projectKey=io.github.bonigarcia:webdrivermanager | ||
- name: Upload coverage to Codecov | ||
if: success() && matrix.os == 'ubuntu-latest' && !contains(github.ref, 'pull') | ||
if: success() && matrix.os == 'ubuntu-latest' && matrix.java == '17' && !contains(github.ref, 'pull') | ||
uses: codecov/[email protected] | ||
- name: Store recordings (only available in Windows) | ||
if: always() && matrix.os == 'windows-latest' | ||
|