diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5d5ef12a4..f9b0a1f2e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,7 +2,7 @@ name: Build and Test on: push: - branches: [ main ] + branches: [main] jobs: build: @@ -16,9 +16,10 @@ jobs: uses: actions/setup-java@v2 with: java-version: '17' + distribution: 'adopt' - name: Build with Maven run: mvn -B package --file pom.xml - name: Run tests with Maven - run: mvn -B test --file pom.xml \ No newline at end of file + run: mvn -B test --file pom.xml