diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 56e7a40..136bfc5 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -1,18 +1,17 @@ name: Java CI -on: [push] +on: [ push ] jobs: build: - runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - - name: Set up JDK 1.8 + - name: Set up JDK 11 uses: actions/setup-java@v1 with: - java-version: 1.8 + java-version: 11 - name: Build with Maven run: mvn -B package --file pom.xml - run: mkdir -p target