[fix]:[修改drone中配置]
This commit is contained in:
parent
043efe6cc3
commit
b4bc9ac7ba
@ -16,6 +16,8 @@ steps:
|
||||
environment:
|
||||
MAVEN_OPTS: -Dmaven.repo.local=.m2/repository
|
||||
commands:
|
||||
# 先创建 .m2 目录
|
||||
- mkdir -p ~/.m2
|
||||
# 动态生成 settings.xml(仅用于 CI)
|
||||
- |
|
||||
cat > ~/.m2/settings.xml << 'EOF'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user