File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 : |
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments