修正构建流程中的工作目录错误在Gitea的CI/CD流程中,更新了build-test.yaml文件,以明确构建脚本的执行路径。此更改确保构建脚本在正确的目录下执行,避免因路径问题导致的构建错误。
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 3s

This commit is contained in:
Grand-cocoa 2024-09-18 17:41:30 +08:00
parent 8f532c5686
commit a941c05a75

View File

@ -7,5 +7,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- run: cd ${{ gitea.workspace }}
- run: pwd
- run: sh ./mvnw -DskipTests=true clean package -P prod
- run: docker build -t mirai-bot:latest