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