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

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
Kasper Juul Hermansen 2023-07-28 21:05:58 +02:00
parent a0e1fe5f95
commit ddc1126bd8
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,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