From e9c37dfa45a8020d6d07b9c81db2b74055edcc95 Mon Sep 17 00:00:00 2001 From: Halvor Teigen Date: Thu, 14 Mar 2024 17:45:02 +0100 Subject: [PATCH] Add Mavan build and test to CI pipeline --- .github/workflows/build.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..2778212 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,21 @@ + +name: Maven build and test + +on: + push + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Set up JDK 21 + uses: actions/setup-java@v4 + with: + java-version: '21' + distribution: 'adopt' + cache: maven + - name: Build with Maven + run: mvn clean install \ No newline at end of file