diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 13e096b0b..69e9955e3 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -15,7 +15,9 @@ jobs: - name: Setup Java uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4 with: - distribution: 'adopt' - java-version: '8' + distribution: temurin + java-version: | + 8 + 11 - name: Check - run: ./gradlew check javadoc \ No newline at end of file + run: ./gradlew check javadoc diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 81f96eed3..dbefbeccf 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -14,8 +14,8 @@ jobs: - name: Setup Java uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4 with: - distribution: 'adopt' - java-version: '8' + distribution: temurin + java-version: 8 - name: Publish to Maven Central env: ORG_GRADLE_PROJECT_signKey: ${{ secrets.SIGN_KEY }}