修正构建和测试工作流中的目录变更错误
Some checks failed
Mirai-build / Explore-Gitea-Actions (push) Failing after 10s

之前的工作流配置错误地从根目录运行命令,而不是从预期的子目录运行。此更改确保命令在正确的项目目录中执行,以避免任何构建或测试过程中的潜在错误。
This commit is contained in:
Grand-cocoa 2024-09-18 17:54:06 +08:00
parent 45f79398fd
commit 4b3deaa520

View File

@ -11,7 +11,7 @@ jobs:
- run: |
rm -rf $CLONED_REPO_DIR
git clone $BARE_REPO_DIR $CLONED_REPO_DIR
- run: cd $CLONED_REPO_DIR
- run: cd Dace/Mirai-bot
- run: pwd
- run: ls -sl
- run: chmod +x ./mvnw