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
|
||||
image: marcoieni/release-plz:0.3.16
|
||||
commands:
|
||||
- mkdir -p .cargo
|
||||
- mkdir -p ~/.cargo
|
||||
- |
|
||||
cat <<EOF >> .cargo/config.toml
|
||||
cat <<EOF >> ~/.cargo/config.toml
|
||||
[registry]
|
||||
default = "gitea"
|
||||
|
||||
@ -74,8 +74,9 @@ steps:
|
||||
#[net]
|
||||
#git-fetch-with-cli = true
|
||||
EOF
|
||||
- mkdir -p ~/.cargo
|
||||
- |
|
||||
cat <<EOF >> .cargo/credentials.toml
|
||||
cat <<EOF >> ~/.cargo/credentials.toml
|
||||
[registries.gitea]
|
||||
token = "Bearer $GIT_TOKEN"
|
||||
EOF
|
||||
|
Loading…
Reference in New Issue
Block a user