We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e79496a commit ece06ddCopy full SHA for ece06dd
.github/workflows/build-and-publish.yml
@@ -37,8 +37,8 @@ jobs:
37
git config user.name "cernbox-bot"
38
cp ../grpc-proto/build/*.go .
39
git add .
40
- done=$(git commit -m "Synced to https://github.com/cern-eos/grpc-proto/tree/${{ github.sha }}")
41
- if [[ $done -eq 0 ]]; then
+ git commit -m "Synced to https://github.com/cern-eos/grpc-proto/tree/${{ github.sha }}"
+ if [ $? -eq 0 ]; then
42
git push origin main
43
else
44
echo "The committed changes (if any) did not update the protobufs, nothing more to do"
0 commit comments