Some checks failed
Backend Maven CI / backend-local (push) Has been cancelled
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
32 lines
881 B
YAML
32 lines
881 B
YAML
# 后端纯本地层 CI。
|
|
#
|
|
# 说明:
|
|
# - 本仓是 monorepo,自建 Gitea Actions 只扫描仓库根 .github/workflows,所以 Maven workflow 必须放在这里。
|
|
# - 默认 CI 不连接 PostgreSQL/RAGFlow/New-API,也不把 P1r*IT 的真实验收伪装成普通 package 绿。
|
|
# - P1r*IT 真 PG / external-live 分层验收见 muse-cloud/scripts/run-p1r-verification.sh。
|
|
name: Backend Maven CI
|
|
|
|
on:
|
|
push:
|
|
branches: [ main, dev/1.0.0 ]
|
|
pull_request:
|
|
branches: [ main, dev/1.0.0 ]
|
|
|
|
jobs:
|
|
backend-local:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Set up JDK 21
|
|
uses: actions/setup-java@v4
|
|
with:
|
|
java-version: '21'
|
|
distribution: temurin
|
|
cache: maven
|
|
|
|
- name: Maven package with local tests
|
|
working-directory: muse-cloud
|
|
run: mvn -B package --file pom.xml
|