Skip to content

Commit 3ceb27f

Browse files
author
finalerock44
committed
fix: restore moropo-v1-api-key (only removed from Bitrise step)
1 parent 23840d0 commit 3ceb27f

4 files changed

Lines changed: 11 additions & 9 deletions

File tree

action.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,7 @@ inputs:
6868
maestro-version:
6969
description: 'Maestro version to run your flow against'
7070
required: false
71-
moropo-v1-api-key:
72-
description: 'API key for Moropo v1 integration'
73-
required: false
71+
7472
name:
7573
description: 'A custom name for your upload (useful for tagging commits etc)'
7674
required: false
@@ -87,6 +85,9 @@ inputs:
8785
retry:
8886
description: 'Number of times to retry the run if it fails (same as pressing retry in the UI, this is free)'
8987
required: false
88+
moropo-v1-api-key:
89+
description: 'API key for Moropo v1 integration'
90+
required: false
9091
workspace:
9192
description: 'The path to the workspace folder containing your flows'
9293
required: false

dist/index.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31909,9 +31909,7 @@ function getParameters() {
3190931909
const runnerType = core.getInput('runner-type', { required: false });
3191031910
const jsonFile = core.getInput('json-file', { required: false }) === 'true';
3191131911
const debug = core.getInput('debug', { required: false }) === 'true';
31912-
const moropoV1ApiKey = core.getInput('moropo-v1-api-key', {
31913-
required: false,
31914-
});
31912+
const moropoV1ApiKey = core.getInput('moropo-v1-api-key', { required: false });
3191531913
const useBeta = core.getInput('use-beta', { required: false }) === 'true';
3191631914
const includeGithubContext = core.getInput('include-github-context', { required: false }) !== 'false';
3191731915
const githubContext = includeGithubContext ? getGithubContextMetadata() : undefined;

src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ const run = async (): Promise<void> => {
155155
runnerType,
156156
debug,
157157
quiet,
158+
158159
moropoV1ApiKey,
159160
useBeta,
160161
maestroChromeOnboarding,
@@ -213,6 +214,7 @@ const run = async (): Promise<void> => {
213214
'json-file-name': jsonFileName,
214215
debug,
215216
quiet,
217+
216218
'moropo-v1-api-key': moropoV1ApiKey,
217219
'maestro-chrome-onboarding': maestroChromeOnboarding,
218220
'android-no-snapshot': androidNoSnapshot,

src/methods/params.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ export type Params = {
3535
json?: boolean;
3636
debug?: boolean;
3737
quiet?: boolean;
38+
3839
moropoV1ApiKey?: string;
3940
useBeta?: boolean;
4041
maestroChromeOnboarding?: boolean;
@@ -214,9 +215,8 @@ export async function getParameters(): Promise<Params> {
214215
const runnerType = core.getInput('runner-type', { required: false });
215216
const jsonFile = core.getInput('json-file', { required: false }) === 'true';
216217
const debug = core.getInput('debug', { required: false }) === 'true';
217-
const moropoV1ApiKey = core.getInput('moropo-v1-api-key', {
218-
required: false,
219-
});
218+
219+
const moropoV1ApiKey = core.getInput('moropo-v1-api-key', { required: false });
220220
const useBeta = core.getInput('use-beta', { required: false }) === 'true';
221221

222222
const includeGithubContext =
@@ -283,6 +283,7 @@ export async function getParameters(): Promise<Params> {
283283
json,
284284
debug,
285285
quiet,
286+
286287
moropoV1ApiKey,
287288
useBeta,
288289
maestroChromeOnboarding,

0 commit comments

Comments
 (0)