File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -49,13 +49,26 @@ jobs:
4949 rm -rf $TEMP_DIR
5050
5151 echo "Successfully copied the proto directory to $TARGET_DIR."
52+
53+ - name : Install Buf
54+ run : |
55+ # Download and install buf
56+ wget https://github.com/bufbuild/buf/releases/download/v1.7.0/buf-Linux-x86_64 -O /usr/local/bin/buf
57+ chmod +x /usr/local/bin/buf
58+ buf --version
59+
60+ - name : Generate Code with Buf
61+ run : |
62+ # Navigate to the proto directory and run buf generate
63+ buf generate
5264
5365 - name : Add and Commit Changes
5466 run : |
5567 git config --global user.name 'GitHub Actions Bot'
5668 git config --global user.email '<>'
5769 git add proto
58- git commit -m "Update proto directory with latest changes"
70+ git add src/grpc/generated
71+ git commit -m "Update proto and generated sdk directory with latest changes"
5972
6073 - name : Push Changes
6174 env :
You can’t perform that action at this time.
0 commit comments