修正构建流程中的工作目录错误在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:42:16 +08:00
parent a941c05a75
commit 47fbae8703

View File

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