Skip to content

Commit

Permalink
Use cargo token from github secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
Felerius committed Feb 14, 2023
1 parent 9ba9430 commit e494fa4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
tag_prefix: ""
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Login to crates.io
run: cargo login "${{ secrets.CRATES_IO_TOKEN }}"
- name: Publish
run: cargo publish
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

0 comments on commit e494fa4

Please sign in to comment.