From 816d64e936151ef8334b81676d147ed5f6913a05 Mon Sep 17 00:00:00 2001 From: TheKodeToad Date: Fri, 22 Nov 2024 11:15:22 +0000 Subject: [PATCH] Create maven-build workflow Signed-off-by: TheKodeToad --- .github/workflows/maven-build.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/maven-build.yml diff --git a/.github/workflows/maven-build.yml b/.github/workflows/maven-build.yml new file mode 100644 index 0000000..79c059d --- /dev/null +++ b/.github/workflows/maven-build.yml @@ -0,0 +1,23 @@ +name: Maven Build + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Set up JDK 7 + uses: actions/setup-java@v4 + with: + java-version: '7' + distribution: 'temurin' + cache: maven + - name: Build with Maven + run: mvn -B package --file pom.xml