Update .gitea/workflows/build.yml
All checks were successful
Rust-build / build (push) Successful in 41s

This commit is contained in:
justine 2023-07-17 17:10:00 +02:00
parent 482759c940
commit 51e8b54e14

View File

@ -33,24 +33,3 @@ jobs:
- name: Build
run: cargo build --release
- name: Configure cargo creds
run: |
echo '[registries.gitea]' > ~/.cargo/credentials.toml
echo 'token = "Bearer ${{ secrets.API_TOKEN_CONFIG}}"' >> ~/.cargo/credentials.toml
cat ~/.cargo/credentials.toml
- name: Configure cargo
run: |
echo 'default = "gitea"' >> ~/.cargo/config.toml
echo ' ' >> ~/.cargo/config.toml
echo '[registries.gitea] ' >> ~/.cargo/config.toml
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' >> ~/.cargo/config.toml
- name: Publish
run: cargo publish