Skip to content

Commit 41e86c4

Browse files
authored
Fix go ci (#91)
* Fix go ci * Update go.yml * add go_package * debug github action * debug github action * debug github action
1 parent 86c3a1e commit 41e86c4

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.github/workflows/go.yml

+2
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ jobs:
3030
run: |
3131
cd go
3232
make generate
33+
rm -rf `go env GOPATH`/src/github.com/wechaty/go-grpc/wechaty
34+
ln -s `pwd`/generated/wechaty/ `go env GOPATH`/src/github.com/wechaty/go-grpc/wechaty
3335
go build -v generated/wechaty/puppet.pb.go
3436
3537
publish:

proto/wechaty/puppet.proto

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ syntax = "proto3";
1414
package wechaty;
1515

1616
option java_package="io.github.wechaty.grpc";
17+
option go_package="github.com/wechaty/go-grpc/wechaty";
1718

1819
import public "puppet/base.proto";
1920
import public "puppet/contact.proto";

0 commit comments

Comments
 (0)