diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 0d2a987e7..0bf847de6 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -17,8 +17,9 @@ jobs: steps: - uses: actions/checkout@main - name: Set up JDK ${{ matrix.java }} - uses: actions/setup-java@v1 + uses: actions/setup-java@main with: + distribution: "adopt" java-version: ${{ matrix.java }} - name: Cache Maven packages uses: actions/cache@main