Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c8ddd09cf7 |
18
.github/workflows/release.yml
vendored
18
.github/workflows/release.yml
vendored
@@ -65,12 +65,12 @@ jobs:
|
|||||||
- name: Publish to Gitea registry
|
- name: Publish to Gitea registry
|
||||||
run: cargo publish --registry gitea --allow-dirty
|
run: cargo publish --registry gitea --allow-dirty
|
||||||
|
|
||||||
# - name: Publish to crates.io
|
- name: Publish to crates.io
|
||||||
# env:
|
env:
|
||||||
# CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
|
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
|
||||||
# run: |
|
run: |
|
||||||
# if [ -z "$CARGO_REGISTRY_TOKEN" ]; then
|
if [ -z "$CARGO_REGISTRY_TOKEN" ]; then
|
||||||
# echo "CARGO_REGISTRY_TOKEN is not set. Set it in repository secrets to publish to crates.io"
|
echo "CARGO_REGISTRY_TOKEN is not set. Set it in repository secrets to publish to crates.io"
|
||||||
# exit 1
|
exit 1
|
||||||
# fi
|
fi
|
||||||
# cargo publish --token "$CARGO_REGISTRY_TOKEN" --allow-dirty
|
cargo publish --token "$CARGO_REGISTRY_TOKEN" --allow-dirty
|
||||||
Reference in New Issue
Block a user