File tree Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -31806,12 +31806,12 @@ async function registerModelInWorkspace(
31806
31806
31807
31807
try {
31808
31808
// Get the input parameters
31809
- const resourceGroup = _actions_core__WEBPACK_IMPORTED_MODULE_0__.getInput('resource-group ');
31810
- const workspaceName = _actions_core__WEBPACK_IMPORTED_MODULE_0__.getInput('workspace-name ');
31811
- const modelName = _actions_core__WEBPACK_IMPORTED_MODULE_0__.getInput('model-name ');
31812
- const modelVersion = _actions_core__WEBPACK_IMPORTED_MODULE_0__.getInput('model-version ');
31813
- const modelPath = _actions_core__WEBPACK_IMPORTED_MODULE_0__.getInput('model-path ');
31814
- const modelType = _actions_core__WEBPACK_IMPORTED_MODULE_0__.getInput('model-type ');
31809
+ const resourceGroup = _actions_core__WEBPACK_IMPORTED_MODULE_0__.getInput('resource_group ');
31810
+ const workspaceName = _actions_core__WEBPACK_IMPORTED_MODULE_0__.getInput('workspace_name ');
31811
+ const modelName = _actions_core__WEBPACK_IMPORTED_MODULE_0__.getInput('model_name ');
31812
+ const modelVersion = _actions_core__WEBPACK_IMPORTED_MODULE_0__.getInput('model_version ');
31813
+ const modelPath = _actions_core__WEBPACK_IMPORTED_MODULE_0__.getInput('model_path ');
31814
+ const modelType = _actions_core__WEBPACK_IMPORTED_MODULE_0__.getInput('model_type ');
31815
31815
31816
31816
if(modelPath === undefined) {
31817
31817
throw new Error("Model path is required.");
Original file line number Diff line number Diff line change @@ -154,12 +154,12 @@ async function registerModelInWorkspace(
154
154
155
155
try {
156
156
// Get the input parameters
157
- const resourceGroup = core . getInput ( 'resource-group ' ) ;
158
- const workspaceName = core . getInput ( 'workspace-name ' ) ;
159
- const modelName = core . getInput ( 'model-name ' ) ;
160
- const modelVersion = core . getInput ( 'model-version ' ) ;
161
- const modelPath = core . getInput ( 'model-path ' ) ;
162
- const modelType = core . getInput ( 'model-type ' ) ;
157
+ const resourceGroup = core . getInput ( 'resource_group ' ) ;
158
+ const workspaceName = core . getInput ( 'workspace_name ' ) ;
159
+ const modelName = core . getInput ( 'model_name ' ) ;
160
+ const modelVersion = core . getInput ( 'model_version ' ) ;
161
+ const modelPath = core . getInput ( 'model_path ' ) ;
162
+ const modelType = core . getInput ( 'model_type ' ) ;
163
163
164
164
if ( modelPath === undefined ) {
165
165
throw new Error ( "Model path is required." ) ;
You can’t perform that action at this time.
0 commit comments