Skip to content

Commit c896478

Browse files
feat(actions): update ReactiveCircus/android-emulator-runner@v2 (#1528)
Created automatically. Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 322a509 commit c896478

2 files changed

Lines changed: 16 additions & 7 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
6b0df4b0efb23bb0ec63d881db79aefbc976e4b2
1+
f0d1ed2dcad93c7479e8b2f2226c83af54494915

github-workflows-kt/src/gen/kotlin/io/github/typesafegithub/workflows/actions/reactivecircus/AndroidEmulatorRunnerV2.kt

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ import kotlin.collections.toTypedArray
4545
* same name as `avd-name` - `true` or `false`
4646
* @param emulatorBootTimeout Emulator boot timeout in seconds. If it takes longer to boot, the
4747
* action would fail - e.g. `300` for 5 minutes
48+
* @param emulatorPort Port to run emulator on, allows to run multiple emulators on the same
49+
* physical machine
4850
* @param emulatorOptions command-line options used when launching the emulator - e.g.
4951
* `-no-window -no-snapshot -camera-back emulated`
5052
* @param disableAnimations whether to disable animations - true or false
@@ -122,6 +124,10 @@ public data class AndroidEmulatorRunnerV2 private constructor(
122124
* `300` for 5 minutes
123125
*/
124126
public val emulatorBootTimeout: Int? = null,
127+
/**
128+
* Port to run emulator on, allows to run multiple emulators on the same physical machine
129+
*/
130+
public val emulatorPort: Int? = null,
125131
/**
126132
* command-line options used when launching the emulator - e.g.
127133
* `-no-window -no-snapshot -camera-back emulated`
@@ -200,6 +206,7 @@ public data class AndroidEmulatorRunnerV2 private constructor(
200206
avdName: String? = null,
201207
forceAvdCreation: Boolean? = null,
202208
emulatorBootTimeout: Int? = null,
209+
emulatorPort: Int? = null,
203210
emulatorOptions: String? = null,
204211
disableAnimations: Boolean? = null,
205212
disableSpellchecker: Boolean? = null,
@@ -217,12 +224,13 @@ public data class AndroidEmulatorRunnerV2 private constructor(
217224
) : this(apiLevel=apiLevel, target=target, arch=arch, profile=profile, cores=cores,
218225
ramSize=ramSize, heapSize=heapSize, sdcardPathOrSize=sdcardPathOrSize,
219226
diskSize=diskSize, avdName=avdName, forceAvdCreation=forceAvdCreation,
220-
emulatorBootTimeout=emulatorBootTimeout, emulatorOptions=emulatorOptions,
221-
disableAnimations=disableAnimations, disableSpellchecker=disableSpellchecker,
222-
disableLinuxHwAccel=disableLinuxHwAccel, enableHwKeyboard=enableHwKeyboard,
223-
emulatorBuild=emulatorBuild, workingDirectory=workingDirectory, ndk=ndk, cmake=cmake,
224-
channel=channel, script=script, preEmulatorLaunchScript=preEmulatorLaunchScript,
225-
_customInputs=_customInputs, _customVersion=_customVersion)
227+
emulatorBootTimeout=emulatorBootTimeout, emulatorPort=emulatorPort,
228+
emulatorOptions=emulatorOptions, disableAnimations=disableAnimations,
229+
disableSpellchecker=disableSpellchecker, disableLinuxHwAccel=disableLinuxHwAccel,
230+
enableHwKeyboard=enableHwKeyboard, emulatorBuild=emulatorBuild,
231+
workingDirectory=workingDirectory, ndk=ndk, cmake=cmake, channel=channel, script=script,
232+
preEmulatorLaunchScript=preEmulatorLaunchScript, _customInputs=_customInputs,
233+
_customVersion=_customVersion)
226234

227235
@Suppress("SpreadOperator")
228236
override fun toYamlArguments(): LinkedHashMap<String, String> = linkedMapOf(
@@ -239,6 +247,7 @@ public data class AndroidEmulatorRunnerV2 private constructor(
239247
avdName?.let { "avd-name" to it },
240248
forceAvdCreation?.let { "force-avd-creation" to it.toString() },
241249
emulatorBootTimeout?.let { "emulator-boot-timeout" to it.toString() },
250+
emulatorPort?.let { "emulator-port" to it.toString() },
242251
emulatorOptions?.let { "emulator-options" to it },
243252
disableAnimations?.let { "disable-animations" to it.toString() },
244253
disableSpellchecker?.let { "disable-spellchecker" to it.toString() },

0 commit comments

Comments
 (0)