Skip to content

Commit c6a69c3

Browse files
committed
try using java 11 in build.yml
1 parent 667e963 commit c6a69c3

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

.github/workflows/build.yml

+12-8
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@ jobs:
1616
uses: gradle/wrapper-validation-action@v1
1717

1818
- name: Configure JDK
19-
uses: actions/setup-java@v1
19+
uses: actions/setup-java@v2
2020
with:
21-
java-version: 1.8
21+
distribution: 'temurin'
22+
java-version: '11'
2223

2324
- run: touch local.properties
2425

@@ -39,9 +40,10 @@ jobs:
3940
uses: gradle/wrapper-validation-action@v1
4041

4142
- name: Configure JDK
42-
uses: actions/setup-java@v1
43+
uses: actions/setup-java@v2
4344
with:
44-
java-version: 1.8
45+
distribution: 'temurin'
46+
java-version: '11'
4547

4648
- run: touch local.properties
4749

@@ -67,9 +69,10 @@ jobs:
6769
uses: gradle/wrapper-validation-action@v1
6870

6971
- name: Configure JDK
70-
uses: actions/setup-java@v1
72+
uses: actions/setup-java@v2
7173
with:
72-
java-version: 1.8
74+
distribution: 'temurin'
75+
java-version: '11'
7376

7477
- run: touch local.properties
7578

@@ -98,9 +101,10 @@ jobs:
98101
uses: actions/checkout@v2
99102

100103
- name: Configure JDK
101-
uses: actions/setup-java@v1
104+
uses: actions/setup-java@v2
102105
with:
103-
java-version: 1.8
106+
distribution: 'temurin'
107+
java-version: '11'
104108

105109
- run: curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
106110
- run: chmod +x ./cc-test-reporter

0 commit comments

Comments
 (0)