From e8006d9c0d695cba9891cc6a6f5860493481632e Mon Sep 17 00:00:00 2001 From: Andrei Solntsev Date: Thu, 7 Sep 2023 00:22:53 +0300 Subject: [PATCH] Setup CI with GitHub Actions --- .github/workflows/maven.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/maven.yml diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml new file mode 100644 index 000000000..05e9a0b59 --- /dev/null +++ b/.github/workflows/maven.yml @@ -0,0 +1,22 @@ +name: Build + +on: + push: + branches: [ "master" ] + pull_request: + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Set up JDK 8 + uses: actions/setup-java@v3 + with: + java-version: '8' + distribution: 'temurin' + cache: maven + - name: Build with Maven + run: mvn -B package