diff --git a/.github/workflows/gradle-precommit.yml b/.github/workflows/gradle-precommit.yml index 33474baa036..93792166985 100644 --- a/.github/workflows/gradle-precommit.yml +++ b/.github/workflows/gradle-precommit.yml @@ -29,7 +29,7 @@ jobs: - name: Set up JDK uses: actions/setup-java@v2 with: - distribution: 'adopt-hotspot' + distribution: 'temurin' java-version: ${{ matrix.java }} java-package: jdk diff --git a/.github/workflows/hunspell.yml b/.github/workflows/hunspell.yml index c1bf4a1b58a..7f3fce070ff 100644 --- a/.github/workflows/hunspell.yml +++ b/.github/workflows/hunspell.yml @@ -17,9 +17,11 @@ jobs: steps: - uses: actions/checkout@v2 - name: Set up JDK - uses: actions/setup-java@v1 + uses: actions/setup-java@v2 with: + distribution: 'temurin' java-version: 17 + java-package: jdk - name: Grant execute permission for gradlew run: chmod +x gradlew - uses: actions/cache@v2