Skip to content

Commit

Permalink
Merge pull request #32 from plx-pdg/ci-fix-cargo-publish
Browse files Browse the repository at this point in the history
ci: cargo login before publish
  • Loading branch information
AndreCostaaa authored Aug 21, 2024
2 parents 416632c + 1378e31 commit a996c71
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release-and-publish-on-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ jobs:
- name: cargo publish
# https://doc.rust-lang.org/cargo/reference/config.html?highlight=CARGO_REGISTRY_TOKEN#credentials
run: |
cargo publish
cargo login ${{ secrets.CARGO_REGISTRY_TOKEN }} && cargo publish
--verbose
--locked
--token ${{ secrets.CARGO_REGISTRY_TOKEN }}

0 comments on commit a996c71

Please sign in to comment.