Skip to content

Commit

Permalink
尝试修复生成py文件路径问题
Browse files Browse the repository at this point in the history
  • Loading branch information
phidiaLam authored Aug 31, 2024
1 parent b040ca0 commit 943e2ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/code-gen-py.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
- name: generate proto code
run:
mkdir -v pb &&
python -m grpc_tools.protoc -I=./protos --python_out=./pb --grpc_python_out=./pb ./protos/*.proto
python -m grpc_tools.protoc -ICeobe_Proto/pb=./protos --python_out=./pb --grpc_python_out=./pb ./protos/*.proto
working-directory: ./master

# 清理 py code gen 中的Py文件和workflow文件
Expand All @@ -79,7 +79,7 @@ jobs:
- name: copy code gen
run:
mkdir -v ./py-code-gen/pb &&
cp -vr ./master/pb/* ./py-code-gen/pb/
cp -vr ./master/Ceobe_Proto/pb/* ./py-code-gen/pb/

- name: write codegen info
working-directory: ./master
Expand Down

0 comments on commit 943e2ab

Please sign in to comment.