Fix: remove the explicit cargo login call

This commit is contained in:
eigenein committed 2023-04-17 00:16:23 +02:00
1 parent 06de455795
commit fb9beb5ecc
2 files changed
+6 -1

No files matched your search

+6
View File
@@ -49,3 +49,9 @@ jobs:
with: with:
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}
args: --all-targets --all-features --tests -- -D warnings args: --all-targets --all-features --tests -- -D warnings
- name: Publish the crates (dry run)
run: |
cargo publish --allow-dirty --dry-run
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
-1
View File
@@ -45,7 +45,6 @@ jobs:
- name: Publish the crates - name: Publish the crates
run: | run: |
cargo login
cargo publish --allow-dirty cargo publish --allow-dirty
env: env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}