From ff656a713e1e66d517cf0f316adc3d993065a0e5 Mon Sep 17 00:00:00 2001 From: Boni Garcia Date: Thu, 4 Apr 2024 16:00:57 +0200 Subject: [PATCH] Change Java version condition in workflow --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 19dc2076f..bdc91b4a6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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/codecov-action@v4.2.0 - name: Store recordings (only available in Windows) if: always() && matrix.os == 'windows-latest'