Skip to content

Commit

Permalink
ci: run protoc on main if proto folder exists
Browse files Browse the repository at this point in the history
  • Loading branch information
daywalker90 committed Apr 5, 2024
1 parent 2db404e commit a8b9db3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,10 @@ jobs:
./setup.sh
cd ..
else
if [ -d "proto" ]; then
source venv/bin/activate
python -m grpc_tools.protoc --proto_path="proto" --python_out="tests" --grpc_python_out="tests" proto/*.proto
fi
cargo build
fi
Expand Down

0 comments on commit a8b9db3

Please sign in to comment.