mirror of
https://github.com/anyproto/anytype-heart.git
synced 2025-06-08 05:47:07 +09:00
ci fixes
This commit is contained in:
parent
1ae7522a27
commit
5231f6aba1
2 changed files with 7 additions and 10 deletions
11
.github/workflows/build.yml
vendored
11
.github/workflows/build.yml
vendored
|
@ -10,15 +10,12 @@ jobs:
|
|||
- name: Install Go
|
||||
uses: actions/setup-go@v1
|
||||
with:
|
||||
go-version: 1.17.3
|
||||
go-version: 1.17.6
|
||||
- name: Setup GO
|
||||
run: |
|
||||
echo GOPATH=$(go env GOPATH) >> $GITHUB_ENV
|
||||
echo GOBIN=$(go env GOPATH)/bin >> $GITHUB_ENV
|
||||
echo $(go env GOPATH)/bin >> $GITHUB_PATH
|
||||
wget https://at9412003.fra1.digitaloceanspaces.com/goroot.tar.gz
|
||||
tar -xzf goroot.tar.gz -C $GOROOT
|
||||
go version
|
||||
- name: Install patched gox
|
||||
run: |
|
||||
mkdir -p $GOPATH/src/github.com/mitchellh
|
||||
|
@ -148,7 +145,7 @@ jobs:
|
|||
run: |
|
||||
gomobile bind -tags "nogrpcserver gomobile" -ldflags "$FLAGS" -v -target=ios -o Lib.xcframework github.com/anytypeio/go-anytype-middleware/clientlibrary/service github.com/anytypeio/go-anytype-middleware/core
|
||||
sudo /usr/sbin/purge
|
||||
gtar -czvf ios_framework_${VERSION}.tar.gz Lib.xcframework protobuf
|
||||
gtar --exclude ".*" -czvf ios_framework_${VERSION}.tar.gz Lib.xcframework protobuf
|
||||
mv ios_framework_${VERSION}.tar.gz .release/
|
||||
- name: Make java protos
|
||||
run: |
|
||||
|
@ -163,7 +160,7 @@ jobs:
|
|||
run: |
|
||||
gomobile bind -tags "nogrpcserver gomobile" -ldflags "$FLAGS" -v -target=android -o lib.aar github.com/anytypeio/go-anytype-middleware/clientlibrary/service github.com/anytypeio/go-anytype-middleware/core
|
||||
sudo /usr/sbin/purge
|
||||
gtar -czvf android_lib_${VERSION}.tar.gz lib.aar protobuf
|
||||
gtar --exclude ".*" -czvf android_lib_${VERSION}.tar.gz lib.aar protobuf
|
||||
mv android_lib_${VERSION}.tar.gz .release/
|
||||
- name: Publish android lib to maven
|
||||
run: |
|
||||
|
@ -187,7 +184,7 @@ jobs:
|
|||
- name: Set up Go
|
||||
uses: actions/setup-go@v1
|
||||
with:
|
||||
go-version: 1.16
|
||||
go-version: 1.17.6
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Set env vars
|
||||
|
|
|
@ -7,9 +7,9 @@
|
|||
"build:protos": "webpack -o ./build/web/commands-web.js ./build/web/pb/protos/service/service_grpc_web_pb.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"google-protobuf": "^3.6.1",
|
||||
"grpc-web": "latest",
|
||||
"protobufjs": "^6.8.8"
|
||||
"google-protobuf": "~3.19.4",
|
||||
"grpc-web": "~1.3.1",
|
||||
"protobufjs": "~6.11.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"webpack": "^4.16.5",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue