Skip to content

Commit 28ac9ce

Browse files
committed
Add gRPC code generation workflow
1 parent 216a8a0 commit 28ac9ce

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/grpc-generate.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Generate gRPC Code
2+
3+
on:
4+
push:
5+
branches:
6+
- develop
7+
pull_request:
8+
branches:
9+
- develop
10+
11+
jobs:
12+
generate:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Checkout code
17+
uses: actions/checkout@v3
18+
19+
- name: Set up Python
20+
uses: actions/setup-python@v3
21+
with:
22+
python-version: '3.x' # Specify your desired Python version
23+
24+
- name: Install gRPC tools
25+
run: |
26+
python3 -m pip install --upgrade pip
27+
pip install grpcio-tools
28+
29+
- name: Run generate.sh
30+
run: |
31+
chmod +x ./generate.sh
32+
./generate.sh

0 commit comments

Comments
 (0)