Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
a199324bcc
|
|||
|
3ebd28b9b8
|
|||
|
f2ba3c5340
|
|||
|
86d857e242
|
|||
|
d79187dfb4
|
|||
|
2325afaaf0
|
@@ -14,17 +14,17 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: '>=1.18.0'
|
||||
go-version: '>=1.23.0'
|
||||
- uses: bufbuild/buf-setup-action@v1.47.2
|
||||
- run: go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
|
||||
- run: go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
|
||||
- run: npm install --save-dev @bufbuild/protobuf @bufbuild/protoc-gen-es @bufbuild/buf
|
||||
- run: buf --version
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
token: ${{ gitea.token }}
|
||||
path: ./
|
||||
- run: ls node_modules
|
||||
- run: go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
|
||||
- run: go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
|
||||
- run: npm install --save @bufbuild/protobuf @bufbuild/protoc-gen-es @bufbuild/buf
|
||||
- run: buf --version
|
||||
- run: ls -aRl ./
|
||||
- run: buf generate
|
||||
- run: |
|
||||
if [ -n ${{ gitea.ref_name }} ]; then
|
||||
|
||||
+1
-1
@@ -42,7 +42,7 @@ plugins:
|
||||
# - remote: buf.build/bufbuild/es:v2.2.2
|
||||
# # opt: import_prefix=github.com/nfel
|
||||
# out: stub/ts
|
||||
- local: node_modules/@bufbuild/protoc-gen-es/bin/protoc-gen-es
|
||||
- local: protoc-gen-es
|
||||
out: stub/ts
|
||||
opt: target=ts
|
||||
|
||||
|
||||
Reference in New Issue
Block a user