Skip to content

Commit b7824a7

Browse files
committed
Merge branch 'add_jar'
2 parents 8bd8493 + 0ba0993 commit b7824a7

4 files changed

Lines changed: 18 additions & 3 deletions

File tree

.github/workflows/backward-compatible-report.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,17 @@ jobs:
102102
OPENSEARCH_VERSION: ${{ steps.get_opensearch_version.outputs.version }}
103103
run: npm ci && npm run preprocessing -- --opensearch-version "$OPENSEARCH_VERSION"
104104

105+
- name: Download openapi-generator JAR
106+
run: |
107+
gh release download openapi-generator-v7.19.0-SNAPSHOT \
108+
--pattern 'openapi-generator-cli.jar' \
109+
--dir .
110+
env:
111+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
112+
105113
- name: Convert protobuf
106114
run: |
107-
java -jar tools/bin/openapi-generator-cli.jar generate -c tools/proto-convert/src/config/protobuf-generator-config.yaml
115+
java -jar openapi-generator-cli.jar generate -c tools/proto-convert/src/config/protobuf-generator-config.yaml
108116
109117
- name: Check for auto-pr-branch and use its protos if exists
110118
run: |

.github/workflows/convert-proto.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,17 @@ jobs:
104104
OPENSEARCH_VERSION: ${{ steps.get_opensearch_version.outputs.version }}
105105
run: npm ci && npm run preprocessing -- --opensearch-version "$OPENSEARCH_VERSION"
106106

107+
- name: Download openapi-generator JAR
108+
run: |
109+
gh release download openapi-generator-v7.19.0-SNAPSHOT \
110+
--pattern 'openapi-generator-cli.jar' \
111+
--dir .
112+
env:
113+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
114+
107115
- name: Convert protobuf
108116
run: |
109-
java -jar tools/bin/openapi-generator-cli.jar generate -c tools/proto-convert/src/config/protobuf-generator-config.yaml
117+
java -jar openapi-generator-cli.jar generate -c tools/proto-convert/src/config/protobuf-generator-config.yaml
110118
111119
- name: Post Process Protobuf
112120
id: merge_report

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ maven_output/
5858
# Gradle
5959
.gradle/
6060
!gradle-wrapper.jar
61-
!tools/bin/openapi-generator-cli.jar
6261

6362
# Logs
6463
*.log
-29.7 MB
Binary file not shown.

0 commit comments

Comments
 (0)