From 8f596b50a5a64ff717960f8bf3e81a461b251e26 Mon Sep 17 00:00:00 2001 From: Edoardo Vacchi Date: Wed, 7 Apr 2021 12:27:40 +0200 Subject: [PATCH] try github action --- .github/workflows/build-runtimes.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/build-runtimes.yml diff --git a/.github/workflows/build-runtimes.yml b/.github/workflows/build-runtimes.yml new file mode 100644 index 00000000000..49bb49255f4 --- /dev/null +++ b/.github/workflows/build-runtimes.yml @@ -0,0 +1,24 @@ +name: Java CI + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Set up JDK 11 + uses: actions/setup-java@v2 + with: + java-version: '11' + distribution: 'adopt' + - name: Cache Maven packages + uses: actions/cache@v2 + with: + path: ~/.m2 + key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} + restore-keys: ${{ runner.os }}-m2 + + - name: Build with Maven + run: mvn --batch-mode --update-snapshots verify