Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ inputs:
description: '[experimental] The type of runner to use <options: m1|m4> - 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 <options: lavapipe|swiftshader>. 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
Expand Down
17 changes: 10 additions & 7 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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. ` +
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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', {
Expand Down Expand Up @@ -44085,6 +44087,7 @@ function getParameters() {
report,
config,
runnerType,
renderEngine,
jsonFile,
debug,
moropoV1ApiKey,
Expand Down Expand Up @@ -46265,7 +46268,7 @@ paginateRest.VERSION = VERSION;

/***/ }),

/***/ 9289:
/***/ 6495:
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __nccwpck_require__) => {

"use strict";
Expand All @@ -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: [
Expand Down Expand Up @@ -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)) {
Expand Down Expand Up @@ -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) {
Expand Down
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ const run = async (): Promise<void> => {
retry,
workspaceFolder,
runnerType,
renderEngine,
debug,
moropoV1ApiKey,
useBeta,
Expand Down Expand Up @@ -193,6 +194,7 @@ const run = async (): Promise<void> => {
report,
retry,
'runner-type': runnerType,
'render-engine': renderEngine,
'json-file': jsonFile,
debug,
'moropo-v1-api-key': moropoV1ApiKey,
Expand Down
3 changes: 3 additions & 0 deletions src/methods/params.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export type Params = {
report?: 'junit' | 'html';
config?: string;
runnerType?: string;
renderEngine?: string;
jsonFile?: boolean;
debug?: boolean;
moropoV1ApiKey?: string;
Expand Down Expand Up @@ -209,6 +210,7 @@ export async function getParameters(): Promise<Params> {

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', {
Expand Down Expand Up @@ -273,6 +275,7 @@ export async function getParameters(): Promise<Params> {
report,
config,
runnerType,
renderEngine,
jsonFile,
debug,
moropoV1ApiKey,
Expand Down