From 85b71b851d34230bbbacfc100c70a4097007bb8a Mon Sep 17 00:00:00 2001 From: Thilo Schwarz Date: Tue, 3 Mar 2026 18:15:57 +0100 Subject: [PATCH] Add forgejo Actions workflow for Maven build and packaging --- .forgejo/workflows/maven.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .forgejo/workflows/maven.yml diff --git a/.forgejo/workflows/maven.yml b/.forgejo/workflows/maven.yml new file mode 100644 index 0000000..21ee679 --- /dev/null +++ b/.forgejo/workflows/maven.yml @@ -0,0 +1,24 @@ +name: Maven Build and package + +on: + push: + branches: + - main + - develop + pull_request: + workflow_dispatch: + +jobs: + compile: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Set up JDK 17 + uses: actions/setup-java@v4 + with: + distribution: corretto + java-version: "17" + cache: maven + - name: Compile (skip tests) + run: mvn -B compile -DskipTests