Add Gitea Actions workflow
Build Backend JAR / build (push) Failing after 59s

This commit is contained in:
DevOps
2026-08-03 02:46:56 +08:00
parent 9048bbb7f8
commit db1f7f2238
+26
View File
@@ -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