Revert "feat: with global .cargo instead"
Some checks failed
continuous-integration/drone/push Build is failing

This reverts commit ddc1126bd8.
This commit is contained in:
Kasper Juul Hermansen 2023-07-28 21:06:28 +02:00
parent ddc1126bd8
commit cc540bcca0
Signed by: kjuulh
GPG Key ID: 9AA7BC13CE474394

View File

@ -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,9 +74,8 @@ 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