Skip to content

Commit

Permalink
Use secret token another way
Browse files Browse the repository at this point in the history
  • Loading branch information
zakarumych committed Feb 7, 2024
1 parent 8e91991 commit 59fdc01
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: login
run: cargo login ${{ secrets.CARGO_IO_TOKEN }}
env:
CARGO_IO_TOKEN: ${{ secrets.CARGO_IO_TOKEN }}
run: cargo login $CARGO_IO_TOKEN
- name: publish
run: cargo publish

0 comments on commit 59fdc01

Please sign in to comment.