Skip to content

Commit

Permalink
update env in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sharunkumar committed Nov 14, 2023
1 parent a891a7b commit 2fb0327
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,13 @@ jobs:
uses: Swatinem/rust-cache@v2

- name: Cargo Bump & Publish
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
run: |
cargo install cargo-bump
cargo bump
git config --global user.email "sharunksplus@gmail.com"
git config --global user.name "Sharun"
git add . && git commit -m "bump version" && git push
cargo publish
Expand Down

0 comments on commit 2fb0327

Please sign in to comment.