Switch to JDK 17 as default JDK on GitHub Actions (#16014)
Co-authored-by: Marek Posolda <mposolda@gmail.com>
This commit is contained in:
parent
5ac8f7c1ef
commit
9df7ef4331
5 changed files with 10 additions and 6 deletions
2
.github/actions/build-keycloak/action.yml
vendored
2
.github/actions/build-keycloak/action.yml
vendored
|
@ -17,7 +17,7 @@ inputs:
|
||||||
jdk-version:
|
jdk-version:
|
||||||
description: JDK version
|
description: JDK version
|
||||||
required: false
|
required: false
|
||||||
default: 11
|
default: 17
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: composite
|
using: composite
|
||||||
|
|
|
@ -9,7 +9,7 @@ inputs:
|
||||||
jdk-version:
|
jdk-version:
|
||||||
description: JDK version
|
description: JDK version
|
||||||
required: false
|
required: false
|
||||||
default: 11
|
default: 17
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: composite
|
using: composite
|
||||||
|
|
2
.github/actions/unit-test-setup/action.yml
vendored
2
.github/actions/unit-test-setup/action.yml
vendored
|
@ -9,7 +9,7 @@ inputs:
|
||||||
jdk-version:
|
jdk-version:
|
||||||
description: JDK version
|
description: JDK version
|
||||||
required: false
|
required: false
|
||||||
default: 11
|
default: 17
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: composite
|
using: composite
|
||||||
|
|
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
|
@ -11,7 +11,7 @@ on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
DEFAULT_JDK_VERSION: 11
|
DEFAULT_JDK_VERSION: 17
|
||||||
DEFAULT_JDK_DIST: temurin
|
DEFAULT_JDK_DIST: temurin
|
||||||
SUREFIRE_RERUN_FAILING_COUNT: 2
|
SUREFIRE_RERUN_FAILING_COUNT: 2
|
||||||
|
|
||||||
|
@ -174,7 +174,7 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
dist: [temurin]
|
dist: [temurin]
|
||||||
version: [17, 19]
|
version: [11, 19]
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
@ -195,6 +195,10 @@ jobs:
|
||||||
echo "Tests: $TESTS"
|
echo "Tests: $TESTS"
|
||||||
./mvnw test -Dsurefire.rerunFailingTestsCount=${{ env.SUREFIRE_RERUN_FAILING_COUNT }} -nsu -B -Pauth-server-quarkus -Dtest=$TESTS -pl testsuite/integration-arquillian/tests/base | misc/log/trimmer.sh
|
./mvnw test -Dsurefire.rerunFailingTestsCount=${{ env.SUREFIRE_RERUN_FAILING_COUNT }} -nsu -B -Pauth-server-quarkus -Dtest=$TESTS -pl testsuite/integration-arquillian/tests/base | misc/log/trimmer.sh
|
||||||
|
|
||||||
|
- name: Build with JDK
|
||||||
|
run:
|
||||||
|
./mvnw install -nsu -B -e -DskipTests -DskipExamples
|
||||||
|
|
||||||
- name: Upload JVM Heapdumps
|
- name: Upload JVM Heapdumps
|
||||||
if: always()
|
if: always()
|
||||||
uses: ./.github/actions/upload-heapdumps
|
uses: ./.github/actions/upload-heapdumps
|
||||||
|
|
2
.github/workflows/operator-ci.yml
vendored
2
.github/workflows/operator-ci.yml
vendored
|
@ -11,7 +11,7 @@ on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
DEFAULT_JDK_VERSION: 11
|
DEFAULT_JDK_VERSION: 17
|
||||||
DEFAULT_JDK_DIST: temurin
|
DEFAULT_JDK_DIST: temurin
|
||||||
MINIKUBE_VERSION: v1.28.0
|
MINIKUBE_VERSION: v1.28.0
|
||||||
KUBERNETES_VERSION: v1.22.3
|
KUBERNETES_VERSION: v1.22.3
|
||||||
|
|
Loading…
Reference in a new issue