@@ -29981,7 +29981,7 @@ const getTestStatus = (uploadId, apiKey, apiUrl) => __awaiter(void 0, void 0, vo
2998129981const run = () => __awaiter(void 0, void 0, void 0, function* () {
2998229982 var _a;
2998329983 try {
29984- const { additionalAppBinaryIds, additionalAppFiles, androidApiLevel, androidDevice, apiKey, apiUrl, appBinaryId, appFilePath, async, config, deviceLocale, downloadArtifacts, env, excludeFlows, excludeTags, googlePlay, ignoreShaCheck, includeTags, iOSVersion, iosDevice, maestroVersion, name, orientation, report, retry, workspaceFolder, x86Arch, runnerType, } = yield (0, params_1.getParameters)();
29984+ const { additionalAppBinaryIds, additionalAppFiles, androidApiLevel, androidDevice, apiKey, apiUrl, appBinaryId, appFilePath, async, config, deviceLocale, downloadArtifacts, env, excludeFlows, excludeTags, googlePlay, ignoreShaCheck, includeTags, iOSVersion, iosDevice, jsonFile, maestroVersion, name, orientation, report, retry, workspaceFolder, x86Arch, runnerType, } = yield (0, params_1.getParameters)();
2998529985 const params = {
2998629986 'additional-app-binary-ids': additionalAppBinaryIds,
2998729987 'additional-app-files': additionalAppFiles,
@@ -30010,6 +30010,7 @@ const run = () => __awaiter(void 0, void 0, void 0, function* () {
3001030010 retry,
3001130011 'x86-arch': x86Arch,
3001230012 'runner-type': runnerType,
30013+ 'json-file': jsonFile,
3001330014 };
3001430015 let paramsString = Object.keys(params).reduce((acc, key) => {
3001530016 if (!params[key])
@@ -30236,6 +30237,7 @@ function getParameters() {
3023630237 const x86Arch = core.getInput('x86-arch', { required: false }) === 'true';
3023730238 const config = core.getInput('config', { required: false });
3023830239 const runnerType = core.getInput('runner-type', { required: false });
30240+ const jsonFile = core.getInput('json-file', { required: false }) === 'true';
3023930241 if (!(appFilePath !== '') !== (appBinaryId !== '')) {
3024030242 throw new Error('Either app-file or app-binary-id must be used');
3024130243 }
@@ -30272,6 +30274,7 @@ function getParameters() {
3027230274 x86Arch,
3027330275 config,
3027430276 runnerType,
30277+ jsonFile,
3027530278 };
3027630279 });
3027730280}
0 commit comments