ci(actions): add Gitea Actions workflow; docs: note CI path in tasks

This commit is contained in:
Your Name
2025-09-30 16:47:26 +08:00
parent 63a5ee87af
commit 344d473ca1
2 changed files with 29 additions and 1 deletions

28
.gitea/workflows/ci.yml Normal file
View File

@@ -0,0 +1,28 @@
name: CI
on:
push:
branches: [ "**" ]
pull_request:
branches: [ "**" ]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build_test_package:
runs-on: ubuntu-latest
container:
image: maven:3.9-eclipse-temurin-17
steps:
- name: Show Java and Maven versions
run: |
java -version
mvn -v
# Gitea act_runner clones the repository; explicit checkout is optional.
- name: Build and test
run: mvn -B -DskipTests=false clean verify
- name: Package
run: mvn -B -DskipTests clean package