Skip to content

Commit

Permalink
Change Java version condition in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
bonigarcia committed Apr 4, 2024
1 parent fb0c96f commit ff656a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit ff656a7

Please sign in to comment.