v2: ci
Signed-off-by: nfel <nfilsaraee@gmail.com>
This commit is contained in:
parent
f22f9faf4b
commit
c54adabf5e
@ -1,3 +1,4 @@
|
||||
---
|
||||
name: Buf CI
|
||||
on:
|
||||
push:
|
||||
@ -12,6 +13,8 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: '>=1.18.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
|
||||
@ -21,5 +24,5 @@ jobs:
|
||||
with:
|
||||
token: ${{ secrets.PROD_REG_TOKEN }}
|
||||
path: ./
|
||||
- run: npx buf generate || cat -A /root/.npm/_logs/*.log
|
||||
|
||||
- run: npx buf generate && cat -A /root/.npm/_logs/*.log
|
||||
- run: cat -A /root/.npm/_logs/*.log
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user