Skip to content

Commit

Permalink
compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
pompon0 committed Nov 3, 2023
1 parent 7d5a640 commit b854854
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/protobuf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,13 @@ jobs:
- name: compile after
run: cargo build --all-targets
working-directory: ./after/node
# - uses: bufbuild/buf-setup-action@v1
# - uses: bufbuild/buf-breaking-action@v1
# with:
# input: "after/$PROTOS_DIR"
# against: "before/$PROTOS_DIR"
- name: build after.binpb
run: >
perl -ne 'print "$1\n" if /PROTOBUF_DESCRIPTOR="(.*)"/'
`find ./after/node/target/debug/build/*/output`
| xargs cat > ./after.binpb
- uses: bufbuild/buf-setup-action@v1
- uses: bufbuild/buf-breaking-action@v1
with:
input: "./after.binpb"
against: "./before.binpb"

0 comments on commit b854854

Please sign in to comment.