Skip to content

Commit 3e5fe68

Browse files
committed
Set adopt distribution for setup-java action
1 parent 2c4a8e7 commit 3e5fe68

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ jobs:
3535
uses: actions/[email protected]
3636
with:
3737
java-version: ${{ matrix.jdk }}
38+
distribution: adopt
3839
- run: ./gradlew build --stacktrace --warning-mode all
3940

4041
release:
@@ -64,6 +65,7 @@ jobs:
6465
uses: actions/[email protected]
6566
with:
6667
java-version: 11
68+
distribution: adopt
6769

6870
- name: Build and publish to github
6971
run: ./gradlew -P releasing build publish githubRelease -s

0 commit comments

Comments
 (0)