diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f6cf38cc6..379e72a11 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,7 +28,7 @@ jobs: strategy: matrix: - java: [17] + java: [17, 21] runs-on: ubuntu-latest @@ -49,4 +49,5 @@ jobs: GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }} - name: Check License Headers + if: matrix.java == '17' run: ./mvnw apache-rat:check -V -B --no-transfer-progress