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