diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index 2742121..9b6421b 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -22,6 +22,7 @@ jobs: - name: Set up JDK 8 uses: actions/setup-java@v3 with: + distribution: 'adopt' java-version: '8' - name: Build with Maven run: mvn -B package --file pom.xml