@@ -130,3 +130,27 @@ jobs:
130
130
asset_path : keda-${{ steps.get_version.outputs.VERSION }}-crds.yaml
131
131
asset_name : keda-${{ steps.get_version.outputs.VERSION }}-crds.yaml
132
132
asset_content_type : application/x-yaml
133
+
134
+ # Upload scalers schema YAML file to GitHub release
135
+ - name : Upload scalers schema YAML file
136
+ id : upload-scalers-schema-yaml
137
+ uses : actions/upload-release-asset@e8f9f06c4b078e705bd2ea027f0926603fc9b4d5 # v1
138
+ env :
139
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
140
+ with :
141
+ upload_url : https://uploads.github.com/repos/kedacore/keda/releases/${{ steps.get-release-info.outputs.id }}/assets?name=keda-scalers-schema-${{ steps.get_version.outputs.VERSION }}.yaml
142
+ asset_path : schema/generated/scalers-metadata-schema-${{ steps.get_version.outputs.VERSION }}.yaml
143
+ asset_name : keda-scalers-schema-${{ steps.get_version.outputs.VERSION }}.yaml
144
+ asset_content_type : application/x-yaml
145
+
146
+ # Upload scalers schema JSON file to GitHub release
147
+ - name : Upload scalers schema JSON file
148
+ id : upload-scalers-schema-json
149
+ uses : actions/upload-release-asset@e8f9f06c4b078e705bd2ea027f0926603fc9b4d5 # v1
150
+ env :
151
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
152
+ with :
153
+ upload_url : https://uploads.github.com/repos/kedacore/keda/releases/${{ steps.get-release-info.outputs.id }}/assets?name=keda-scalers-schema-${{ steps.get_version.outputs.VERSION }}.json
154
+ asset_path : schema/generated/scalers-metadata-schema-${{ steps.get_version.outputs.VERSION }}.json
155
+ asset_name : keda-scalers-schema-${{ steps.get_version.outputs.VERSION }}.json
156
+ asset_content_type : application/json
0 commit comments