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:
+5
-5
@@ -61,13 +61,13 @@ async function run() {
|
||||
}
|
||||
|
||||
// execute the custom script
|
||||
scripts.forEach(async (script: string) => {
|
||||
try {
|
||||
try {
|
||||
for (const script of scripts) {
|
||||
await exec.exec(`${script}`);
|
||||
} catch (error) {
|
||||
core.setFailed(error.message);
|
||||
}
|
||||
});
|
||||
} catch (error) {
|
||||
core.setFailed(error.message);
|
||||
}
|
||||
|
||||
// finally kill the emulator
|
||||
await killEmulator();
|
||||
|
||||
Reference in New Issue
Block a user