mirror of
https://github.com/reactivecircus/android-emulator-runner.git
synced 2026-11-02 17:25:50 +00:00
Fail action when script fails.
This commit is contained in:
1 parent
a6ea5be5bb
commit
83dda62a70
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -64,7 +64,7 @@ function run() {
|
||||
yield exec.exec(`${script}`);
|
||||
}
|
||||
catch (error) {
|
||||
console.error(error.message);
|
||||
core.setFailed(error.message);
|
||||
}
|
||||
// finally kill the emulator
|
||||
yield emulator_manager_1.killEmulator();
|
||||
|
||||
+1
-1
@@ -56,7 +56,7 @@ async function run() {
|
||||
try {
|
||||
await exec.exec(`${script}`);
|
||||
} catch (error) {
|
||||
console.error(error.message);
|
||||
core.setFailed(error.message);
|
||||
}
|
||||
|
||||
// finally kill the emulator
|
||||
|
||||
Reference in new issue
Block a user