Skip to content

Commit 0c32f46

Browse files
author
github-actions
committed
[CI] Add changes
1 parent 53a1427 commit 0c32f46

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

dist/index.js

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33275,7 +33275,7 @@ const escapeShellValue = (value) => {
3327533275
};
3327633276
const run = () => __awaiter(void 0, void 0, void 0, function* () {
3327733277
try {
33278-
const { additionalAppBinaryIds, additionalAppFiles, androidApiLevel, androidDevice, apiKey, apiUrl, appBinaryId, appFilePath, async, deviceLocale, downloadArtifacts, env, excludeFlows, excludeTags, googlePlay, includeTags, iOSVersion, iosDevice, maestroVersion, name, orientation, retry, workspaceFolder, } = yield (0, params_1.getParameters)();
33278+
const { additionalAppBinaryIds, additionalAppFiles, androidApiLevel, androidDevice, apiKey, apiUrl, appBinaryId, appFilePath, async, deviceLocale, downloadArtifacts, env, excludeFlows, excludeTags, googlePlay, ignoreShaCheck, includeTags, iOSVersion, iosDevice, maestroVersion, name, orientation, report, retry, workspaceFolder, x86Arch, } = yield (0, params_1.getParameters)();
3327933279
const params = {
3328033280
'additional-app-binary-ids': additionalAppBinaryIds,
3328133281
'additional-app-files': additionalAppFiles,
@@ -33292,13 +33292,16 @@ const run = () => __awaiter(void 0, void 0, void 0, function* () {
3329233292
'exclude-tags': excludeTags,
3329333293
flows: workspaceFolder,
3329433294
'google-play': googlePlay,
33295+
'ignore-sha-check': ignoreShaCheck,
3329533296
'include-tags': includeTags,
3329633297
'ios-device': iosDevice,
3329733298
'ios-version': iOSVersion,
3329833299
'maestro-version': maestroVersion,
3329933300
name,
3330033301
orientation,
33302+
report,
3330133303
retry,
33304+
'x86-arch': x86Arch,
3330233305
};
3330333306
let paramsString = Object.keys(params).reduce((acc, key) => {
3330433307
if (!params[key])
@@ -33469,6 +33472,12 @@ function getParameters() {
3346933472
const downloadArtifacts = parseDownloadArtifacts(core.getInput('download-artifacts', { required: false }));
3347033473
const maestroVersion = core.getInput('maestro-version', { required: false });
3347133474
const orientation = parseOrientation(core.getInput('orientation', { required: false }));
33475+
const ignoreShaCheck = core.getInput('ignore-sha-check', { required: false }) === 'true';
33476+
const report = core.getInput('report', { required: false });
33477+
if (report && report !== 'junit' && report !== 'html') {
33478+
throw new Error('Report format must be either "junit" or "html"');
33479+
}
33480+
const x86Arch = core.getInput('x86-arch', { required: false }) === 'true';
3347233481
if (!(appFilePath !== '') !== (appBinaryId !== '')) {
3347333482
throw new Error('Either app-file or app-binary-id must be used');
3347433483
}
@@ -33500,6 +33509,9 @@ function getParameters() {
3350033509
maestroVersion,
3350133510
orientation,
3350233511
retry,
33512+
ignoreShaCheck,
33513+
report,
33514+
x86Arch,
3350333515
};
3350433516
});
3350533517
}

0 commit comments

Comments
 (0)