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

This commit is contained in:
Grand-cocoa 2024-09-18 17:40:39 +08:00
parent f81ddde881
commit 8f532c5686

View File

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