Skip to content

v3.0.4 (#29)

v3.0.4 (#29) #110

Workflow file for this run

name: CI
on: [ push, pull_request ]
jobs:
build-and-test:
name: 构建和测试
runs-on: ubuntu-latest
steps:
- name: 签出代码
uses: actions/checkout@v4
- name: 启动默认的 MySQL
run: sudo systemctl start mysql.service
- name: 安装 JDK
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 21
cache: maven
- name: 使用 Maven 进行构建和测试
run: mvn package --batch-mode
- name: 上传 构建和测试 生成的文件
uses: actions/upload-artifact@v4
with:
name: scx-artifact
path: ./*/target/