Fix protoc-update bash error

This commit is contained in:
Otto winter 2021-06-21 21:22:32 +02:00
parent 1e19502805
commit 036207bfb0
No known key found for this signature in database
GPG Key ID: 48ED2DDB96D7682C

View File

@ -27,9 +27,7 @@ jobs:
# github actions email from here: https://github.community/t/github-actions-bot-email-address/17204
- name: Commit changes
run: |
if git diff-index --quiet HEAD --; then
echo "No changes detected, protobuf files are up to date!"
else
if ! git diff-index --quiet HEAD; then
git config --global user.name "github-actions[bot]"
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
git commit -am "Update protobuf files"