File tree Expand file tree Collapse file tree 4 files changed +10
-5
lines changed
invoker/core/src/test/java/com/google/cloud/functions/invoker Expand file tree Collapse file tree 4 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 35
35
prerun : ' invoker/conformance/prerun.sh'
36
36
builder-runtime : ' java17'
37
37
builder-runtime-version : ' 17'
38
- builder-url : gcr.io/gae-runtimes/buildpacks/google-gae-22/java/builder:latest
38
+ builder-url : gcr.io/gae-runtimes/buildpacks/google-gae-22/java/builder:latest
Original file line number Diff line number Diff line change 14
14
strategy :
15
15
matrix :
16
16
java : [
17
- 11.x
18
- # 12.x,
19
- # 13.x
17
+ 11.x,
20
18
]
21
19
steps :
22
20
- name : Harden Runner
Original file line number Diff line number Diff line change 14
14
matrix :
15
15
java : [
16
16
11.x,
17
- 17.x
17
+ 17.x,
18
+ 21-ea
18
19
]
19
20
steps :
20
21
- name : Harden Runner
25
26
allowed-endpoints : >
26
27
github.com:443
27
28
repo.maven.apache.org:443
29
+ api.adoptium.net:443
30
+ *.githubusercontent.com:443
28
31
- uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
29
32
- name : Set up JDK ${{ matrix.java }}
30
33
uses : actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 # v3.13.0
Original file line number Diff line number Diff line change @@ -363,6 +363,10 @@ private static int getJavaVersion() {
363
363
if (dot != -1 ) {
364
364
version = version .substring (0 , dot );
365
365
}
366
+ int dash = version .indexOf ("-" );
367
+ if (dash != -1 ) {
368
+ version = version .substring (0 , dash );
369
+ }
366
370
}
367
371
return Integer .parseInt (version );
368
372
}
You can’t perform that action at this time.
0 commit comments