This commit is contained in:
5
.github/workflows/publish.yml
vendored
5
.github/workflows/publish.yml
vendored
@@ -48,7 +48,10 @@ jobs:
|
||||
- name: Generate Protobuf
|
||||
run: |
|
||||
npm install -g ts-proto
|
||||
protoc -I ./proto ./proto/*.proto --ts_proto_out=nestJs=true,package=omit:./gen --go_out=paths=source_relative:./gen --go-grpc_out=paths=source_relative:./gen
|
||||
protoc -I ./proto ./proto/*.proto \
|
||||
--ts_proto_out=nestJs=true,package=omit:./gen \
|
||||
--go_out=Mgoogle/protobuf/any.proto=google.golang.org/protobuf/types/known/anypb,paths=source_relative:./gen \
|
||||
--go-grpc_out=paths=source_relative:./gen
|
||||
|
||||
- name: Publish package
|
||||
run: npm publish
|
||||
|
||||
Reference in New Issue
Block a user