From 0d3df300203f11842b0d68e0c7edb181f3cb7b45 Mon Sep 17 00:00:00 2001 From: Oliver Drotbohm Date: Fri, 16 Aug 2024 09:26:59 +0200 Subject: [PATCH] Add GitHub actions build. --- .github/workflows/build.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/build.yaml diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml new file mode 100644 index 000000000..6ede4f0c9 --- /dev/null +++ b/.github/workflows/build.yaml @@ -0,0 +1,27 @@ +name: CI Build + +on: + push: + branches: [ main ] + +jobs: + build: + name: Build project + runs-on: ubuntu-latest + + steps: + + - name: Check out sources + uses: actions/checkout@v4 + + - name: Set up JDK 17 + uses: actions/setup-java@v4 + with: + distribution: 'temurin' + java-version: 17 + cache: 'maven' + + - name: Build with Maven + env: + DEVELOCITY_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }} + run: ./mvnw clean verify -B