mirror of
https://github.com/reactivecircus/android-emulator-runner.git
synced 2026-09-03 19:09:32 +00:00
Fix script execution order. Run test fixture in workflow.
This commit is contained in:
+6
-6
@@ -69,14 +69,14 @@ function run() {
|
||||
core.setFailed(error.message);
|
||||
}
|
||||
// execute the custom script
|
||||
scripts.forEach((script) => __awaiter(this, void 0, void 0, function* () {
|
||||
try {
|
||||
try {
|
||||
for (const script of scripts) {
|
||||
yield exec.exec(`${script}`);
|
||||
}
|
||||
catch (error) {
|
||||
core.setFailed(error.message);
|
||||
}
|
||||
}));
|
||||
}
|
||||
catch (error) {
|
||||
core.setFailed(error.message);
|
||||
}
|
||||
// finally kill the emulator
|
||||
yield emulator_manager_1.killEmulator();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user