Skip to content

Commit

Permalink
proto edit, make version number
Browse files Browse the repository at this point in the history
Signed-off-by: Aaron Sutula <hi@asutula.com>
  • Loading branch information
asutula committed May 18, 2020
1 parent 66beee9 commit 607ded9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/publish-grpc-libs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,16 @@ jobs:
uses: arduino/setup-protoc@master
with:
version: '3.11.2'
- name: Make version number
id: makeversion
uses: frabert/replace-string-action@v1.1
with:
pattern: 'v'
string: ${{steps.latesttag.outputs.tag}}
replace-with: ''
- name: Generate JS gRPC bindings
run: |
./scripts/gen-js-protos.sh ("${{ steps.latesttag.outputs.tag }}").replace("v", "") . ./js-grpc
./scripts/gen-js-protos.sh ${{steps.makeversion.outputs.replaced}} . ./js-grpc
- name: Publish JS gRPC bindings
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
Expand Down
4 changes: 0 additions & 4 deletions ffs/rpc/rpc.proto
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
syntax = "proto3";
package ffs.rpc;

option java_multiple_files = true;
option java_package = "io.textile.filecoin.ffs.pb";
option java_outer_classname = "Filecoinffs";
option objc_class_prefix = "TTE";
option go_package = "rpc";

// model messages
Expand Down

0 comments on commit 607ded9

Please sign in to comment.