fix: ganerate proto file for golang
All checks were successful
Publish / Publish Job (push) Successful in 2m34s
All checks were successful
Publish / Publish Job (push) Successful in 2m34s
This commit is contained in:
4
.github/workflows/publish.yml
vendored
4
.github/workflows/publish.yml
vendored
@@ -48,9 +48,11 @@ jobs:
|
||||
- name: Generate Protobuf
|
||||
run: |
|
||||
npm install -g ts-proto
|
||||
mkdir -p ./gen/go # Создаем вложенную папку для Go
|
||||
protoc -I ./proto ./proto/*.proto \
|
||||
--ts_proto_out=nestJs=true,package=omit:./gen \
|
||||
--go-grpc_out=paths=source_relative:./gen
|
||||
--go_out=paths=source_relative:./gen/go \
|
||||
--go-grpc_out=paths=source_relative:./gen/go
|
||||
|
||||
- name: Publish package
|
||||
run: npm publish
|
||||
|
||||
Reference in New Issue
Block a user