diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 31fe2eb..708b075 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -13,5 +13,6 @@ jobs: uses: actions/setup-java@v2 with: java-version: 11 + distribution: adopt - name: Build with Gradle run: ./gradlew build test diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2412b08..48d4f47 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,5 +13,6 @@ jobs: uses: actions/setup-java@v2 with: java-version: 11 + distribution: adopt - name: Build with Gradle run: ./gradlew publishPlugins -Pgradle.publish.key=${{ secrets.GRADLE_PUBLISH_KEY }} -Pgradle.publish.secret=${{ secrets.GRADLE_PUBLISH_SECRET }}