Skip to content

Commit 1b61af1

Browse files
authored
Update master.yml
1 parent a4141f1 commit 1b61af1

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/master.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ jobs:
1313
- name: Set up JDK 1.8
1414
uses: actions/setup-java@v2
1515
with:
16-
java-version: 1.8
16+
java-version: '8'
17+
distribution: 'adopt'
1718

1819
- name: Cache local Maven repository
1920
uses: actions/cache@v2
@@ -119,7 +120,8 @@ jobs:
119120
- name: Set up JDK 1.8 Apache Maven Central
120121
uses: actions/setup-java@v2
121122
with: # running setup-java again overwrites the settings.xml
122-
java-version: 1.8
123+
java-version: '8'
124+
distribution: 'adopt'
123125
server-id: ossrh
124126
server-username: MAVEN_CENTRAL_USERNAME
125127
server-password: MAVEN_CENTRAL_TOKEN
@@ -149,7 +151,8 @@ jobs:
149151
- name: Set up JDK 1.8
150152
uses: actions/setup-java@v2
151153
with:
152-
java-version: 1.8
154+
java-version: '8'
155+
distribution: 'adopt'
153156

154157
- name: Build for Vaadin Directory
155158
run: mvn -B install -Pdirectory
@@ -194,7 +197,8 @@ jobs:
194197
- name: Setup - Java
195198
uses: actions/setup-java@v2
196199
with:
197-
java-version: 1.8
200+
java-version: '8'
201+
distribution: 'adopt'
198202

199203
- name: Restore - Maven Cache
200204
uses: actions/cache@v1

0 commit comments

Comments
 (0)