From 4b3deaa520e72f71afec81f80e9f6084ed8a6c00 Mon Sep 17 00:00:00 2001 From: Grand-cocoa <1075576561@qq.com49111108+grand-cocoa@users.noreply.github.com> Date: Wed, 18 Sep 2024 17:54:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E6=9E=84=E5=BB=BA=E5=92=8C?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E5=B7=A5=E4=BD=9C=E6=B5=81=E4=B8=AD=E7=9A=84?= =?UTF-8?q?=E7=9B=AE=E5=BD=95=E5=8F=98=E6=9B=B4=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 之前的工作流配置错误地从根目录运行命令,而不是从预期的子目录运行。此更改确保命令在正确的项目目录中执行,以避免任何构建或测试过程中的潜在错误。 --- .gitea/workflows/build-test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/build-test.yaml b/.gitea/workflows/build-test.yaml index d07fc16..d67fb95 100644 --- a/.gitea/workflows/build-test.yaml +++ b/.gitea/workflows/build-test.yaml @@ -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