Skip to content

Commit 820bcf6

Browse files
committed
Update setup-java step in workflows
1 parent 34d8a86 commit 820bcf6

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.github/workflows/github.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
uses: actions/setup-java@v3
2525
with:
2626
java-version: ${{ matrix.jdk-version }}
27+
distribution: 'adopt'
2728

2829
- name: Gradle cache
2930
uses: actions/cache@v3
@@ -92,6 +93,7 @@ jobs:
9293
uses: actions/setup-java@v3
9394
with:
9495
java-version: 11
96+
distribution: 'adopt'
9597

9698
- name: Gradle cache
9799
uses: actions/cache@v3

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ jobs:
4040
uses: actions/setup-java@v3
4141
with:
4242
java-version: 1.8
43+
distribution: 'adopt'
4344

4445
- name: Gradle cache
4546
uses: actions/cache@v3

0 commit comments

Comments
 (0)