Sakura-Miki/.gitea/workflows/package.yaml
Grand-cocoa 4f37aace85
All checks were successful
Sakura-Miki-build / Automatic-Packaging (push) Successful in 2m27s
feat(service): 添加 JM 下载功能
- 新增 DownloadUtil 工具类,用于处理 JMComic 下载任务
- 添加 JmDownloadService 服务类,实现 /JmDownload 命令的处理
- 更新 .gitea/workflows/build-test.yaml,重命名为 package.yaml 并调整工作流名称- 修改 MFAGenerateService、RandomPhotoService 和 ExampleService,优化命令前缀和参数处理
- 新增 JsonUtil 工具类,用于解析 JSON 数据
- 更新 AlistUtil 依赖版本至 1.0.1-spring
2025-03-24 17:23:13 +08:00

25 lines
868 B
YAML

name: Sakura-Miki-build
run-name: Automatic-Packaging 📦
on: [ push ]
env:
BARE_REPO_DIR: https://git.alina-dace.info/Dace/Sakura-Miki.git
CLONED_REPO_DIR: ./
jobs:
Automatic-Packaging:
runs-on: ubuntu-latest
steps:
- name: Checkout Git Repo
uses: https://git.alina-dace.info/actions/checkout@v4
- run: pwd
- name: Set up JDK 17
uses: https://git.alina-dace.info/actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- run: chmod +x ./mvnw
- run: ./mvnw install:install-file -Dfile=./lib/AlistUtil-1.0.1-spring.jar -Dpackaging=jar -DgroupId=io.github.1530624156 -DartifactId=AlistUtil -Dversion=1.0.1-spring
- name: build
run: ./mvnw clean package -DskipTests=true -P prod
- run: docker build -t sakura-miki:latest ./