This commit is contained in:
parent
c3d8c780f3
commit
6d39a7ec5b
@ -37,6 +37,7 @@ jobs:
|
||||
run: |
|
||||
echo '[registries.gitea]' > ~/.cargo/credentials.toml
|
||||
echo 'token = "Bearer ${{ secrets.CARGO_API_TOKEN}}"' >> ~/.cargo/credentials.toml
|
||||
cat ~/.cargo/credentials.toml
|
||||
|
||||
|
||||
- name: Configure cargo
|
||||
@ -47,7 +48,7 @@ jobs:
|
||||
echo 'index = "https://gitea.squi.fr/Rust/_cargo-index.git"' >> ~/.cargo/config.toml
|
||||
echo ' ' >> ~/.cargo/config.toml
|
||||
echo '[net]' >> ~/.cargo/config.toml
|
||||
echo 'git-fetch-with-cli = true' git-fetch-with-cli = true
|
||||
echo 'git-fetch-with-cli = true' >> ~/.cargo/config.toml
|
||||
|
||||
- name: Publish
|
||||
run: cargo publish
|
||||
|
Loading…
x
Reference in New Issue
Block a user