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