Skip to content

Commit ece06dd

Browse files
committed
[CI] another variant
1 parent e79496a commit ece06dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-and-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ jobs:
3737
git config user.name "cernbox-bot"
3838
cp ../grpc-proto/build/*.go .
3939
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
40+
git commit -m "Synced to https://github.com/cern-eos/grpc-proto/tree/${{ github.sha }}"
41+
if [ $? -eq 0 ]; then
4242
git push origin main
4343
else
4444
echo "The committed changes (if any) did not update the protobufs, nothing more to do"

0 commit comments

Comments
 (0)