diff --git a/.github/workflows/ci.yml b/.github/workflows/main.yml similarity index 93% rename from .github/workflows/ci.yml rename to .github/workflows/main.yml index cd6221450a..32e43ee92e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/main.yml @@ -1,15 +1,26 @@ name: Java CI with Maven +#myCode + on: pull_request: + branches: [ master ] + + + jobs: build: + + + runs-on: ubuntu-latest + + steps: - uses: actions/checkout@v2 @@ -17,10 +28,15 @@ jobs: - name: Set up JDK 11 uses: actions/setup-java@v2 + with: + java-version: '11' + distribution: 'temurin' + cache: maven + - name: Build with Maven run: mvn -B package --file pom.xml