Skip to content

Commit 126c805

Browse files
authored
ci: Add Protobuf generation to update-a2a-types.yml (#177)
1 parent d537285 commit 126c805

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/update-a2a-types.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,18 @@ jobs:
6262
--use-subclass-enum
6363
echo "Codegen finished."
6464
65+
- name: Install Buf
66+
uses: bufbuild/buf-setup-action@v1
67+
68+
- name: Run buf generate
69+
run: |
70+
set -euo pipefail # Exit immediately if a command exits with a non-zero status
71+
72+
echo "Running buf generate..."
73+
buf generate
74+
uv run scripts/grpc_gen_post_processor.py
75+
echo "Buf generate finished."
76+
6577
- name: Create Pull Request with Updates
6678
uses: peter-evans/create-pull-request@v6
6779
with:

0 commit comments

Comments
 (0)