diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 61064f4c..d3bb9ee9 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -1,11 +1,11 @@ # This workflow will build a Java project with Maven # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven -name: Java CI with Maven +name: Build cucumber-eclipse plugin on: push: - branches: [ main ] + branches: [ main, 1.x, v0.x ] pull_request: branches: [ main ] @@ -16,10 +16,10 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Set up JDK 11 + - name: Set up JDK 8 uses: actions/setup-java@v2 with: - java-version: '11' - distribution: 'adopt' + java-version: '8' + architecture: 'x64' - name: Build with Maven run: mvn -B package --file pom.xml