Compare commits
3 Commits
v1.0.2fix
...
v1.0.2fix4
| Author | SHA1 | Date | |
|---|---|---|---|
|
9c92ab9d34
|
|||
|
5bcb6feeac
|
|||
|
8338a661f7
|
@@ -16,23 +16,23 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
go-version: '>=1.18.0'
|
go-version: '>=1.18.0'
|
||||||
- uses: bufbuild/buf-setup-action@v1.47.2
|
- uses: bufbuild/buf-setup-action@v1.47.2
|
||||||
- run: ls -aRhl
|
- 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 install --save-dev @bufbuild/protobuf @bufbuild/protoc-gen-es @bufbuild/buf
|
||||||
# - run: npm install --save-dev
|
- 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 node_modules
|
||||||
# - run: npx buf generate
|
- run: buf generate
|
||||||
# - run: |
|
- run: |
|
||||||
# if [ -n ${{ gitea.ref_name }} ]; then
|
if [ -n ${{ gitea.ref_name }} ]; then
|
||||||
# mkdir .res
|
mkdir .res
|
||||||
# for out in go ts docs; do
|
for out in go ts docs; do
|
||||||
# tar czf .res/${out}.tar.gz ./stub/${out}/ .
|
tar czf .res/${out}.tar.gz ./stub/${out}/ .
|
||||||
# curl --user gitea:${{ gitea.token }} \
|
curl --user gitea:${{ gitea.token }} \
|
||||||
# --upload-file .res/${out}.tar.gz \
|
--upload-file .res/${out}.tar.gz \
|
||||||
# ${{ gitea.api_url }}/packages/kahroba/generic/proto/${{ gitea.ref_name }}/${out}.tar.gz
|
${{ gitea.api_url }}/packages/kahroba/generic/proto/${{ gitea.ref_name }}/${out}.tar.gz
|
||||||
# done
|
done
|
||||||
# fi
|
fi
|
||||||
|
|||||||
+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: protoc-gen-es
|
- local: node_modules/@bufbuild/protoc-gen-es/bin/protoc-gen-es
|
||||||
out: stub/ts
|
out: stub/ts
|
||||||
opt: target=ts
|
opt: target=ts
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user