Browse Source

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.
Jon C 6 months ago
parent
commit
eaef45ac07
1 changed files with 5 additions and 0 deletions
  1. 5 0
      .github/workflows/publish-rust.yml

+ 5 - 0
.github/workflows/publish-rust.yml

@@ -89,6 +89,11 @@ jobs:
         with:
           tool: cargo-semver-checks,cargo-release
 
+      - name: Set Git Author (required for cargo-release)
+        run: |
+          git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
+          git config --global user.name "github-actions[bot]"
+
       - name: Set Version
         run: |
           if [ "${{ inputs.level }}" == "version" ]; then