Skip to content

Commit 3f2e562

Browse files
committed
Correct usage of actions/setup-java@v2
1 parent 7aa6ea7 commit 3f2e562

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/build-test.yml

+1
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,6 @@ jobs:
1313
uses: actions/setup-java@v2
1414
with:
1515
java-version: 11
16+
distribution: adopt
1617
- name: Build with Gradle
1718
run: ./gradlew build test

.github/workflows/release.yml

+1
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,6 @@ jobs:
1313
uses: actions/setup-java@v2
1414
with:
1515
java-version: 11
16+
distribution: adopt
1617
- name: Build with Gradle
1718
run: ./gradlew publishPlugins -Pgradle.publish.key=${{ secrets.GRADLE_PUBLISH_KEY }} -Pgradle.publish.secret=${{ secrets.GRADLE_PUBLISH_SECRET }}

0 commit comments

Comments
 (0)