From ba566f768b9dd47e8cc8170d0c8bf9490061d533 Mon Sep 17 00:00:00 2001 From: SbloodyS <460888207@qq.com> Date: Thu, 19 Sep 2024 22:45:39 +0800 Subject: [PATCH] improvement 16096 --- .github/workflows/unit-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index 43bb2dcb54f12..4ec338e70bbf5 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -68,7 +68,7 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} # Sonar check need to run after jacoco report generated. - name: Run SonarCloud Analysis - if: '8' == matrix.java.version + if: ${{ matrix.java.version }} == '8' run: > ./mvnw --batch-mode verify sonar:sonar -Dsonar.coverage.jacoco.xmlReportPaths=target/site/jacoco/jacoco.xml