Update .gitea/workflows/build.yml
All checks were successful
Rust-build / build (push) Successful in 41s
All checks were successful
Rust-build / build (push) Successful in 41s
This commit is contained in:
parent
482759c940
commit
51e8b54e14
@ -33,24 +33,3 @@ jobs:
|
|||||||
- name: Build
|
- name: Build
|
||||||
run: cargo build --release
|
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
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user