diff --git a/action.yml b/action.yml index 705ecb9..ac6539d 100644 --- a/action.yml +++ b/action.yml @@ -91,6 +91,9 @@ inputs: description: '[experimental] The type of runner to use - note: anything other than default will incur premium pricing tiers. See https://docs.devicecloud.dev/reference/runner-type for more information' required: false default: 'default' + render-engine: + description: '[Android only] Software renderer the emulator boots with . Leave unset to let DeviceCloud choose: lavapipe by default, swiftshader for apps shipping the Flutter engine.' + required: false debug: description: 'Enable debug mode for more verbose output' required: false diff --git a/dist/index.js b/dist/index.js index e37f0ab..25cf1b0 100644 --- a/dist/index.js +++ b/dist/index.js @@ -2216,7 +2216,7 @@ const Context = __importStar(__nccwpck_require__(8663)); const Utils = __importStar(__nccwpck_require__(1365)); // octokit + plugins const core_1 = __nccwpck_require__(6895); -const plugin_rest_endpoint_methods_1 = __nccwpck_require__(9289); +const plugin_rest_endpoint_methods_1 = __nccwpck_require__(6495); const plugin_paginate_rest_1 = __nccwpck_require__(6212); exports.context = new Context.Context(); const baseUrl = Utils.getApiBaseUrl(); @@ -43703,7 +43703,7 @@ const getLatestDcdVersion = (...args_1) => __awaiter(void 0, [...args_1], void 0 const run = () => __awaiter(void 0, void 0, void 0, function* () { var _a, _b; try { - const { 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, runnerType, debug, moropoV1ApiKey, useBeta, maestroChromeOnboarding, androidNoSnapshot, disableAnimations, githubContext, } = yield (0, params_1.getParameters)(); + const { 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, runnerType, renderEngine, debug, moropoV1ApiKey, useBeta, maestroChromeOnboarding, androidNoSnapshot, disableAnimations, githubContext, } = yield (0, params_1.getParameters)(); const REMOVED_MAESTRO_VERSIONS = ['1.39.2', '1.39.7', '2.0.3']; if (maestroVersion && REMOVED_MAESTRO_VERSIONS.includes(maestroVersion)) { (0, core_1.setFailed)(`Maestro version ${maestroVersion} is no longer supported. ` + @@ -43736,6 +43736,7 @@ const run = () => __awaiter(void 0, void 0, void 0, function* () { report, retry, 'runner-type': runnerType, + 'render-engine': renderEngine, 'json-file': jsonFile, debug, 'moropo-v1-api-key': moropoV1ApiKey, @@ -44032,6 +44033,7 @@ function getParameters() { } const config = core.getInput('config', { required: false }); const runnerType = core.getInput('runner-type', { required: false }); + const renderEngine = core.getInput('render-engine', { required: false }); const jsonFile = core.getInput('json-file', { required: false }) === 'true'; const debug = core.getInput('debug', { required: false }) === 'true'; const moropoV1ApiKey = core.getInput('moropo-v1-api-key', { @@ -44085,6 +44087,7 @@ function getParameters() { report, config, runnerType, + renderEngine, jsonFile, debug, moropoV1ApiKey, @@ -46265,7 +46268,7 @@ paginateRest.VERSION = VERSION; /***/ }), -/***/ 9289: +/***/ 6495: /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __nccwpck_require__) => { "use strict"; @@ -46278,12 +46281,12 @@ __nccwpck_require__.d(__webpack_exports__, { restEndpointMethods: () => (/* binding */ restEndpointMethods) }); -;// CONCATENATED MODULE: ./node_modules/.pnpm/@octokit+plugin-rest-endpoint-methods@17.0.0_@octokit+core@7.0.6/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/version.js +;// CONCATENATED MODULE: ./node_modules/.pnpm/@octokit+plugin-rest-endpoi_88f1cfdccbcd12f9bd89a662a3d08bce/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/version.js const VERSION = "17.0.0"; //# sourceMappingURL=version.js.map -;// CONCATENATED MODULE: ./node_modules/.pnpm/@octokit+plugin-rest-endpoint-methods@17.0.0_@octokit+core@7.0.6/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/generated/endpoints.js +;// CONCATENATED MODULE: ./node_modules/.pnpm/@octokit+plugin-rest-endpoi_88f1cfdccbcd12f9bd89a662a3d08bce/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/generated/endpoints.js const Endpoints = { actions: { addCustomLabelsToSelfHostedRunnerForOrg: [ @@ -48577,7 +48580,7 @@ var endpoints_default = Endpoints; //# sourceMappingURL=endpoints.js.map -;// CONCATENATED MODULE: ./node_modules/.pnpm/@octokit+plugin-rest-endpoint-methods@17.0.0_@octokit+core@7.0.6/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/endpoints-to-methods.js +;// CONCATENATED MODULE: ./node_modules/.pnpm/@octokit+plugin-rest-endpoi_88f1cfdccbcd12f9bd89a662a3d08bce/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/endpoints-to-methods.js const endpointMethodsMap = /* @__PURE__ */ new Map(); for (const [scope, endpoints] of Object.entries(endpoints_default)) { @@ -48703,7 +48706,7 @@ function decorate(octokit, scope, methodName, defaults, decorations) { //# sourceMappingURL=endpoints-to-methods.js.map -;// CONCATENATED MODULE: ./node_modules/.pnpm/@octokit+plugin-rest-endpoint-methods@17.0.0_@octokit+core@7.0.6/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/index.js +;// CONCATENATED MODULE: ./node_modules/.pnpm/@octokit+plugin-rest-endpoi_88f1cfdccbcd12f9bd89a662a3d08bce/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/index.js function restEndpointMethods(octokit) { diff --git a/src/index.ts b/src/index.ts index 8c9adb2..8cb66d1 100644 --- a/src/index.ts +++ b/src/index.ts @@ -148,6 +148,7 @@ const run = async (): Promise => { retry, workspaceFolder, runnerType, + renderEngine, debug, moropoV1ApiKey, useBeta, @@ -193,6 +194,7 @@ const run = async (): Promise => { report, retry, 'runner-type': runnerType, + 'render-engine': renderEngine, 'json-file': jsonFile, debug, 'moropo-v1-api-key': moropoV1ApiKey, diff --git a/src/methods/params.ts b/src/methods/params.ts index be017b5..33704de 100644 --- a/src/methods/params.ts +++ b/src/methods/params.ts @@ -27,6 +27,7 @@ export type Params = { report?: 'junit' | 'html'; config?: string; runnerType?: string; + renderEngine?: string; jsonFile?: boolean; debug?: boolean; moropoV1ApiKey?: string; @@ -209,6 +210,7 @@ export async function getParameters(): Promise { const config = core.getInput('config', { required: false }); const runnerType = core.getInput('runner-type', { required: false }); + const renderEngine = core.getInput('render-engine', { required: false }); const jsonFile = core.getInput('json-file', { required: false }) === 'true'; const debug = core.getInput('debug', { required: false }) === 'true'; const moropoV1ApiKey = core.getInput('moropo-v1-api-key', { @@ -273,6 +275,7 @@ export async function getParameters(): Promise { report, config, runnerType, + renderEngine, jsonFile, debug, moropoV1ApiKey,