File tree Expand file tree Collapse file tree 2 files changed +11
-10
lines changed Expand file tree Collapse file tree 2 files changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -12,11 +12,12 @@ jobs:
12
12
build :
13
13
runs-on : ubuntu-latest
14
14
steps :
15
- - uses : actions/checkout@v3
16
- - name : Set up JDK 1.8
17
- uses : actions/setup-java@v1
15
+ - uses : actions/checkout@v4
16
+ - name : Set up JDK 21
17
+ uses : actions/setup-java@v4
18
18
with :
19
- java-version : 1.8
19
+ distribution : ' temurin' # See 'Supported distributions' for available options
20
+ java-version : ' 21'
20
21
- name : Set up MySQL
21
22
uses : shogo82148/actions-setup-mysql@v1
22
23
with :
Original file line number Diff line number Diff line change @@ -21,10 +21,10 @@ jobs:
21
21
- name : Check out code
22
22
uses : actions/checkout@v4
23
23
24
- - name : Set up JDK 1.8
24
+ - name : Set up JDK 21
25
25
uses : actions/setup-java@v4
26
26
with :
27
- java-version : 8
27
+ java-version : 21
28
28
distribution : " temurin"
29
29
30
30
- name : Determine the version
@@ -43,21 +43,21 @@ jobs:
43
43
exit 1
44
44
if : github.event_name != 'workflow_dispatch' && steps.versioncheck.outputs.version != github.ref_name
45
45
46
- - name : Set up JDK 1.8 for snapshots
46
+ - name : Set up JDK 21 for snapshots
47
47
uses : actions/setup-java@v4
48
48
with :
49
- java-version : 8
49
+ java-version : 21
50
50
distribution : " temurin"
51
51
cache : " maven"
52
52
server-id : openconext-snapshots
53
53
server-username : MAVEN_USERNAME
54
54
server-password : MAVEN_PASSWORD
55
55
if : ( endsWith(steps.versioncheck.outputs.version, '-SNAPSHOT'))
56
56
57
- - name : Set up JDK 1.8
57
+ - name : Set up JDK 21
58
58
uses : actions/setup-java@v4
59
59
with :
60
- java-version : 8
60
+ java-version : 21
61
61
distribution : " temurin"
62
62
cache : " maven"
63
63
server-id : openconext-releases
You can’t perform that action at this time.
0 commit comments