diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 569d405972..a94f849ec9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,9 +18,10 @@ jobs: steps: - uses: actions/checkout@v2 - name: JDK ${{ matrix.java }} - uses: actions/setup-java@v1 + uses: actions/setup-java@v2 with: java-version: ${{ matrix.java }} + distribution: 'adopt' - name: Cache maven uses: actions/cache@v2 with: