Update .gitea/workflows/build.yml
Some checks failed
Rust-build / build (push) Failing after 50s

This commit is contained in:
justine 2023-07-17 17:03:29 +02:00
parent c3d8c780f3
commit 6d39a7ec5b

View File

@ -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