diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index f6837a2..1d3d52a 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -16,8 +16,9 @@ jobs: steps: - uses: actions/checkout@v2.3.4 - name: Set up JDK 1.8 - uses: actions/setup-java@v1.4.3 + uses: actions/setup-java@v2.1.0 with: - java-version: 1.8 + distribution: 'adopt' + java-version: '8' - name: Build with Maven run: mvn package --file pom.xml