From f173c647df1d600897e704ab4d83f99cb46c8aaa 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 | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 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..2f46620 --- /dev/null +++ b/.gitea/workflows/build.yaml @@ -0,0 +1,30 @@ +name: Build and Test + +on: + push: + branches: + - main + pull_request: + +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