From db1f7f2238757cbae978d78dff0da09c8222eb26 Mon Sep 17 00:00:00 2001 From: DevOps Date: Mon, 3 Aug 2026 02:46:56 +0800 Subject: [PATCH] Add Gitea Actions workflow --- .gitea/workflows/build.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .gitea/workflows/build.yml diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml new file mode 100644 index 00000000..a7409437 --- /dev/null +++ b/.gitea/workflows/build.yml @@ -0,0 +1,26 @@ +name: Build Backend JAR + +on: + push: + branches: [master] + workflow_dispatch: + inputs: + version: + description: Version tag + required: false + default: "" + +jobs: + build: + runs-on: ubuntu-latest + container: maven:3.9-eclipse-temurin-21 + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Build with Maven + run: mvn clean package -DskipTests -q + - name: Upload artifact + uses: actions/upload-artifact@v4 + with: + name: backend-jar + path: target/*.jar