diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a2c9e540..8c218d3c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -42,9 +42,9 @@ jobs: key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} restore-keys: | ${{ runner.os }}-gradle- - - name: Set up JDK - uses: actions/setup-java@v1 + - uses: actions/setup-java@v2 with: + distribution: 'adopt' java-version: 11 - name: Check with gradle shell: bash