Fix protoc-update bash error
This commit is contained in:
parent
1e19502805
commit
036207bfb0
|
@ -27,9 +27,7 @@ jobs:
|
||||||
# github actions email from here: https://github.community/t/github-actions-bot-email-address/17204
|
# github actions email from here: https://github.community/t/github-actions-bot-email-address/17204
|
||||||
- name: Commit changes
|
- name: Commit changes
|
||||||
run: |
|
run: |
|
||||||
if git diff-index --quiet HEAD --; then
|
if ! git diff-index --quiet HEAD; then
|
||||||
echo "No changes detected, protobuf files are up to date!"
|
|
||||||
else
|
|
||||||
git config --global user.name "github-actions[bot]"
|
git config --global user.name "github-actions[bot]"
|
||||||
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||||
git commit -am "Update protobuf files"
|
git commit -am "Update protobuf files"
|
||||||
|
|
Loading…
Reference in New Issue