diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6a8a619d84..d94a6a4eb5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,7 +22,7 @@ jobs: uses: actions/setup-java@v4 with: distribution: temurin # Temurin is a distribution of adoptium - java-version: 21 + java-version: 17 - name: Checkout security uses: actions/checkout@v4 @@ -40,7 +40,7 @@ jobs: matrix: gradle_task: ${{ fromJson(needs.generate-test-list.outputs.separateTestsNames) }} platform: [windows-latest, ubuntu-latest] - jdk: [21] + jdk: [11, 17, 21] runs-on: ${{ matrix.platform }} steps: @@ -97,7 +97,7 @@ jobs: strategy: fail-fast: false matrix: - jdk: [21] + jdk: [11, 17, 21] platform: [ubuntu-latest, windows-latest] runs-on: ${{ matrix.platform }} @@ -132,7 +132,7 @@ jobs: strategy: fail-fast: false matrix: - jdk: [21] + jdk: [17] platform: [ubuntu-latest] runs-on: ${{ matrix.platform }} @@ -159,7 +159,7 @@ jobs: - uses: actions/setup-java@v4 with: distribution: temurin # Temurin is a distribution of adoptium - java-version: 21 + java-version: 17 - name: Checkout Security Repo uses: actions/checkout@v4 @@ -204,7 +204,7 @@ jobs: - uses: actions/setup-java@v4 with: distribution: temurin # Temurin is a distribution of adoptium - java-version: 21 + java-version: 17 - uses: github/codeql-action/init@v3 with: languages: java @@ -219,7 +219,7 @@ jobs: - uses: actions/setup-java@v4 with: distribution: temurin # Temurin is a distribution of adoptium - java-version: 21 + java-version: 17 - run: | security_plugin_version=$(./gradlew properties -q | grep -E '^version:' | awk '{print $2}') @@ -250,4 +250,4 @@ jobs: - name: List files in the build directory if there was an error run: ls -al ./build/distributions/ - if: failure() \ No newline at end of file + if: failure() diff --git a/.github/workflows/plugin_install.yml b/.github/workflows/plugin_install.yml index 6eb98a7416..d3344f2e58 100644 --- a/.github/workflows/plugin_install.yml +++ b/.github/workflows/plugin_install.yml @@ -12,7 +12,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest] - jdk: [21] + jdk: [11, 17, 21] runs-on: ${{ matrix.os }} steps: @@ -46,7 +46,7 @@ jobs: plugins: "file:$(pwd)/${{ env.PLUGIN_NAME }}.zip" security-enabled: true admin-password: ${{ steps.random-password.outputs.generated_name }} - jdk-version: 21 + jdk-version: 17 - name: Run sanity tests uses: gradle/gradle-build-action@v3