Skip to content

Commit 499478c

Browse files
committed
fix
1 parent f6d4a12 commit 499478c

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/convert-proto.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,12 +120,9 @@ jobs:
120120
java -jar cloned-repo/modules/openapi-generator-cli/target/openapi-generator-cli.jar generate -c tools/proto-convert/src/config/protobuf-generator-config.yaml
121121
122122
- name: Post Process Protobuf
123-
run: npm run postprocessing
124-
125-
- name: Generate Merge Report
126123
id: merge_report
127124
run: |
128-
npm run backward-compat -- --dry-run --report /tmp/merge-report.md || true
125+
npm run postprocessing:report
129126
if [ -f /tmp/merge-report.md ]; then
130127
# Escape for GitHub Actions multiline output
131128
REPORT=$(cat /tmp/merge-report.md)

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"backward-compat": "ts-node tools/proto-convert/src/postprocessing/BackwardCompatibleWriter.ts",
1010
"cleanup-unused": "ts-node tools/proto-convert/src/postprocessing/CleanupUnusedMessages.ts -i protos/schemas/common.proto",
1111
"postprocessing": "npm run backward-compat && npm run cleanup-unused",
12+
"postprocessing:report": "npm run backward-compat -- --report /tmp/merge-report.md && npm run cleanup-unused",
1213
"test": "npx jest --no-watchman"
1314
},
1415
"dependencies": {

0 commit comments

Comments
 (0)