Compare commits
2 commits
44a920f478
...
ea5df007bc
Author | SHA1 | Date | |
---|---|---|---|
ea5df007bc | |||
d9d2c22aea |
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ jobs:
|
||||||
- name: 📤 Publish crate on code.thetadev.de
|
- name: 📤 Publish crate on code.thetadev.de
|
||||||
run: |
|
run: |
|
||||||
mkdir -p ~/.cargo
|
mkdir -p ~/.cargo
|
||||||
printf '\n\n[registries.thetadev]\nindex = "https://code.thetadev.de/ThetaDev/_cargo-index.git"\ntoken = "Bearer ${{ secrets.TOKEN_GITEA }}"\n' >> ~/.cargo/config.toml
|
printf '\n\n[registries.thetadev]\nindex = "https://code.thetadev.de/ThetaDev/_cargo-index.git"\ntoken = "Bearer ${{ secrets.FORGEJO_CI_TOKEN }}"\n' >> ~/.cargo/config.toml
|
||||||
sed -i "s/^rustypipe.*=\s*{/\0 registry = \"thetadev\",/g" Cargo.toml
|
sed -i "s/^rustypipe.*=\s*{/\0 registry = \"thetadev\",/g" Cargo.toml
|
||||||
cargo publish --registry thetadev --allow-dirty --package "${{ env.CRATE }}"
|
cargo publish --registry thetadev --allow-dirty --package "${{ env.CRATE }}"
|
||||||
git restore Cargo.toml
|
git restore Cargo.toml
|
||||||
|
|
Loading…
Reference in a new issue