diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 38e19d60..7d16ed8b 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -5,8 +5,7 @@ name: Java CI with Maven on: push: - branches: - - '**' + branches: [ master ] pull_request: branches: [ master ] @@ -17,9 +16,9 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Set up JDK 11 + - name: Set up JDK 8 uses: actions/setup-java@v1 with: - java-version: 11 + java-version: 8 - name: Build with Maven run: mvn -B package -DskipTests --file pom.xml