File tree Expand file tree Collapse file tree 4 files changed +12
-12
lines changed
Expand file tree Collapse file tree 4 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -58,11 +58,11 @@ jobs:
5858 # If the Autobuild fails above, remove it and uncomment the following three lines.
5959 # modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
6060
61- - name : Set up JDK 17
61+ - name : Set up JDK 21
6262 uses : actions/setup-java@v4
6363 with :
64- java-version : ' 17 '
65- distribution : ' temurin '
64+ java-version : ' 21 '
65+ distribution : ' corretto '
6666 - name : Set up Gradle
6767 uses : gradle/actions/setup-gradle@v4
6868 - name : Validate Gradle wrapper
Original file line number Diff line number Diff line change @@ -31,11 +31,11 @@ jobs:
3131 runs-on : ubuntu-latest
3232 steps :
3333 - uses : actions/checkout@v4
34- - name : Set up JDK 17
34+ - name : Set up JDK 21
3535 uses : actions/setup-java@v4
3636 with :
37- java-version : ' 17 '
38- distribution : ' temurin '
37+ java-version : ' 21 '
38+ distribution : ' corretto '
3939 - name : Set up Gradle
4040 uses : gradle/actions/setup-gradle@v4
4141 - name : Validate Gradle wrapper
@@ -57,11 +57,11 @@ jobs:
5757 if : github.event_name == 'pull_request'
5858 steps :
5959 - uses : actions/checkout@v4
60- - name : Set up JDK 17
60+ - name : Set up JDK 21
6161 uses : actions/setup-java@v4
6262 with :
63- java-version : ' 17 '
64- distribution : ' temurin '
63+ java-version : ' 21 '
64+ distribution : ' corretto '
6565 - name : Set up Gradle
6666 uses : gradle/actions/setup-gradle@v4
6767 - name : Validate Gradle wrapper
Original file line number Diff line number Diff line change 1- FROM amazoncorretto:17 -alpine AS build
1+ FROM amazoncorretto:21 -alpine AS build
22COPY . /usr/src/app/
33WORKDIR /usr/src/app
44COPY --chown=gradle:gradle . /home/gradle/src
@@ -7,7 +7,7 @@ WORKDIR /home/gradle/src
77# and boot JAR by default.
88RUN ./gradlew buildFatJar --no-daemon
99
10- FROM amazoncorretto:17 -alpine AS runtime
10+ FROM amazoncorretto:21 -alpine AS runtime
1111EXPOSE 8080:8080
1212RUN apk add curl
1313RUN mkdir /app
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ tasks.test {
6868}
6969
7070kotlin {
71- jvmToolchain(17 )
71+ jvmToolchain(21 )
7272
7373 sourceSets {
7474 all {
You can’t perform that action at this time.
0 commit comments