修正构建流程中的工作目录错误在Gitea的CI/CD流程中,更新了build-test.yaml文件,以明确构建脚本的执行路径。此更改确保构建脚本在正确的目录下执行,避免因路径问题导致的构建错误。
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 3s
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 3s
This commit is contained in:
parent
8f532c5686
commit
a941c05a75
@ -7,5 +7,6 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- run: cd ${{ gitea.workspace }}
|
- run: cd ${{ gitea.workspace }}
|
||||||
|
- run: pwd
|
||||||
- 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
|
||||||
|
Loading…
Reference in New Issue
Block a user