This commit is contained in:
7
.github/workflows/publish.yml
vendored
7
.github/workflows/publish.yml
vendored
@@ -48,11 +48,12 @@ jobs:
|
|||||||
- name: Generate Protobuf
|
- name: Generate Protobuf
|
||||||
run: |
|
run: |
|
||||||
npm install -g ts-proto
|
npm install -g ts-proto
|
||||||
mkdir -p ./gen/go # Создаем вложенную папку для Go
|
mkdir -p ./gen/go
|
||||||
protoc -I ./proto/* ./proto/*/*.proto \
|
protoc -I ./proto \
|
||||||
--ts_proto_out=nestJs=true,addGrpcMetadata=true,package=omit:./gen \
|
--ts_proto_out=nestJs=true,addGrpcMetadata=true,package=omit:./gen \
|
||||||
--go_out=paths=source_relative:./gen/go \
|
--go_out=paths=source_relative:./gen/go \
|
||||||
--go-grpc_out=paths=source_relative:./gen/go
|
--go-grpc_out=paths=source_relative:./gen/go \
|
||||||
|
$(find ./proto -name "*.proto")
|
||||||
|
|
||||||
- name: Commit and push changes
|
- name: Commit and push changes
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user