diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 98a5aae..d370a40 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -48,11 +48,12 @@ jobs: - name: Generate Protobuf run: | npm install -g ts-proto - mkdir -p ./gen/go # Создаем вложенную папку для Go - protoc -I ./proto/* ./proto/*/*.proto \ + mkdir -p ./gen/go + protoc -I ./proto \ --ts_proto_out=nestJs=true,addGrpcMetadata=true,package=omit:./gen \ --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 run: |