File tree Expand file tree Collapse file tree 4 files changed +16
-8
lines changed
Expand file tree Collapse file tree 4 files changed +16
-8
lines changed Original file line number Diff line number Diff line change @@ -13,11 +13,14 @@ jobs:
1313 steps :
1414 - name : Checkout code
1515 uses : actions/checkout@v2
16+ with :
17+ fetch-depth : 0
1618
17- - uses : AdoptOpenJDK/install-jdk@v1
19+ - name : Setup Java
20+ uses : actions/setup-java@v2
1821 with :
19- version : ' 16 '
20- architecture : x64
22+ distribution : ' temurin '
23+ java-version : ' 17 '
2124
2225 - name : Build with Maven
2326 run : ./mvnw clean package
Original file line number Diff line number Diff line change 1414 runs-on : ubuntu-latest
1515 steps :
1616 - uses : actions/checkout@v1
17- - uses : AdoptOpenJDK/install-jdk@v1
1817 with :
19- version : ' 16'
20- architecture : x64
18+ fetch-depth : 0
19+
20+ - name : Setup Java
21+ uses : actions/setup-java@v2
22+ with :
23+ distribution : ' temurin'
24+ java-version : ' 17'
25+
2126 - name : Build with Maven
2227 run : ./mvnw verify
Original file line number Diff line number Diff line change 11# Builder image
2- FROM adoptopenjdk/openjdk16:jdk-16.0.1_9-debian as build
2+ FROM eclipse-temurin:17_35-jdk@sha256:a576b23ab2bdcf3746b10ce9a83004798bf4d9bc9d62d926ffe2c987a7dd3c2b as build
33
44RUN jlink \
55 --module-path /opt/java/jmods \
Original file line number Diff line number Diff line change 99 <version >1.0-SNAPSHOT</version >
1010
1111 <properties >
12- <java .version>16 </java .version>
12+ <java .version>17 </java .version>
1313 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
1414
1515 <aws-java-sdk .version>1.12.78</aws-java-sdk .version>
You can’t perform that action at this time.
0 commit comments