mirror of
https://github.com/reactivecircus/android-emulator-runner.git
synced 2026-11-03 09:45:49 +00:00
Fix script execution order. Run test fixture in workflow.
This commit is contained in:
1 parent
269b6dcc82
commit
c03965e565
35 files changed
+720
-14
No files matched your search
+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