Mirai-bot/.gitea/workflows/build-test.yaml
Grand-cocoa ee6403eb7d
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 2s
```工作流更新与设备信息添加
- 重构`.gitea/workflows/build-test.yaml`,优化Maven构建流程,省略非必要步骤。
- 实现`device.json`文件,模拟设备信息,适用于mirai设备。
- 更新`Dockerfile`,自动化构建流程,包括必要的配置文件。
```
2024-09-18 17:25:48 +08:00

11 lines
274 B
YAML

name: Gitea Actions Demo
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on: [ push ]
jobs:
Explore-Gitea-Actions:
runs-on: ubuntu-latest
steps:
- run: mvnw -DskipTests=true clean package -P prod
- run: docker build -t mirai-bot:latest