File tree 2 files changed +6
-10
lines changed
2 files changed +6
-10
lines changed Original file line number Diff line number Diff line change 38
38
strategy :
39
39
fail-fast : false
40
40
matrix :
41
- java : [8, 11, 17]
41
+ # We match the official policy:
42
+ # https://cloud.google.com/java/docs/supported-java-versions
43
+ java : [8, 11, 17, 21]
42
44
steps :
43
45
- name : Checkout code
44
46
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -121,7 +123,7 @@ jobs:
121
123
runs-on : ubuntu-latest
122
124
strategy :
123
125
matrix :
124
- java : [8, 11, 17]
126
+ java : [8, 11, 17, 21 ]
125
127
steps :
126
128
- name : Checkout code
127
129
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
Original file line number Diff line number Diff line change @@ -38,20 +38,14 @@ function determineMavenOpts() {
38
38
| sed -E ' s/^(1\.[0-9]\.0).*$/\1/g'
39
39
)
40
40
41
- if [[ $javaVersion == 17* ]]
42
- then
43
- # MaxPermSize is no longer supported as of jdk 17
44
- echo -n " -Xmx1024m"
45
- else
46
- echo -n " -Xmx1024m -XX:MaxPermSize=128m"
47
- fi
41
+ echo -n " -Xmx1024m"
48
42
}
49
43
50
44
export MAVEN_OPTS=$( determineMavenOpts)
51
45
52
46
# this should run maven enforcer
53
47
retry_with_backoff 3 10 \
54
- mvn install -B -V -ntp \
48
+ ./mvnw install -B -V -ntp \
55
49
-DskipTests=true \
56
50
-Dmaven.javadoc.skip=true \
57
51
-Dclirr.skip=true
You can’t perform that action at this time.
0 commit comments