Skip to content

Commit eaef45a

Browse files
authored
CI: Set git author / email before bump (#46)
#### Problem cargo-release requires git identification to be set, even if it won't be used. #### Summary of changes Set the name and email.
1 parent 7e343e7 commit eaef45a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Diff for: .github/workflows/publish-rust.yml

+5
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,11 @@ jobs:
8989
with:
9090
tool: cargo-semver-checks,cargo-release
9191

92+
- name: Set Git Author (required for cargo-release)
93+
run: |
94+
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
95+
git config --global user.name "github-actions[bot]"
96+
9297
- name: Set Version
9398
run: |
9499
if [ "${{ inputs.level }}" == "version" ]; then

0 commit comments

Comments
 (0)