From 540f0dff58a3d615bfb2be891d2e696e810fe63d Mon Sep 17 00:00:00 2001 From: Rui Barbosa Date: Tue, 29 Sep 2026 00:43:22 +0100 Subject: [PATCH] Add gitea action build pipeline --- .gitea/workflows/build.yaml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .gitea/workflows/build.yaml diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml new file mode 100644 index 0000000..0eaaccb --- /dev/null +++ b/.gitea/workflows/build.yaml @@ -0,0 +1,31 @@ +name: Build and Test + +on: + push: + branches: + - main + pull_request: + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Setup JDK + uses: actions/setup-java@v4 + with: + distribution: temurin + java-version: '21' + cache: maven + + - name: Test and package + run: mvn -B verify + + - name: Upload jar + uses: actions/upload-artifact@v3 + with: + name: package + path: target/*.jar \ No newline at end of file