feat: with global .cargo instead
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
parent
a0e1fe5f95
commit
ddc1126bd8
@ -62,9 +62,9 @@ steps:
|
|||||||
- name: release
|
- name: release
|
||||||
image: marcoieni/release-plz:0.3.16
|
image: marcoieni/release-plz:0.3.16
|
||||||
commands:
|
commands:
|
||||||
- mkdir -p .cargo
|
- mkdir -p ~/.cargo
|
||||||
- |
|
- |
|
||||||
cat <<EOF >> .cargo/config.toml
|
cat <<EOF >> ~/.cargo/config.toml
|
||||||
[registry]
|
[registry]
|
||||||
default = "gitea"
|
default = "gitea"
|
||||||
|
|
||||||
@ -74,8 +74,9 @@ steps:
|
|||||||
#[net]
|
#[net]
|
||||||
#git-fetch-with-cli = true
|
#git-fetch-with-cli = true
|
||||||
EOF
|
EOF
|
||||||
|
- mkdir -p ~/.cargo
|
||||||
- |
|
- |
|
||||||
cat <<EOF >> .cargo/credentials.toml
|
cat <<EOF >> ~/.cargo/credentials.toml
|
||||||
[registries.gitea]
|
[registries.gitea]
|
||||||
token = "Bearer $GIT_TOKEN"
|
token = "Bearer $GIT_TOKEN"
|
||||||
EOF
|
EOF
|
||||||
|
Loading…
Reference in New Issue
Block a user