diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 28d3082a2..01ac6866f 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -7,7 +7,7 @@ on: [push, pull_request] jobs: build: - # Only run on PRs if the source branch is on a different repo. We do not need run everything twice. + # Only run on PRs if the source branch is on a different repo. We do not need to run everything twice. if: ${{ github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name }} runs-on: ubuntu-latest @@ -18,7 +18,7 @@ jobs: - name: Set up JDK 11 uses: actions/setup-java@v2 with: - distribution: 'adopt' + distribution: 'temurin' java-version: 11 - name: Build with Gradle run: ./gradlew build