Skip to content

Commit

Permalink
Update publish_crates.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tbraun96 authored Jan 8, 2025
1 parent 143c733 commit 8a34f77
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish_crates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ permissions:

env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

jobs:
publish:
Expand All @@ -40,8 +41,8 @@ jobs:

- name: Publish version
run: |
git config user.email "[email protected]"
git config user.name "crates.io bot"
git config user.email "[email protected]"
git config user.name "Thomas Braun"
if [ "${{ github.event.inputs.version_type }}" = "patch" ]; then
cargo make publish-patch
elif [ "${{ github.event.inputs.version_type }}" = "minor" ]; then
Expand Down

0 comments on commit 8a34f77

Please sign in to comment.