mirror of
https://github.com/reactivecircus/android-emulator-runner.git
synced 2026-09-01 01:59:32 +00:00
Fix escaped environment variables in script.
This commit is contained in:
@@ -46,5 +46,6 @@ jobs:
|
||||
emulator-options: -no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim -camera-back none
|
||||
disable-animations: true
|
||||
script: |
|
||||
echo $GITHUB_REPOSITORY
|
||||
./gradlew help
|
||||
./gradlew connectedDebugAndroidTest
|
||||
|
||||
+1
-1
@@ -84,7 +84,7 @@ function run() {
|
||||
// execute the custom script
|
||||
try {
|
||||
for (const script of scripts) {
|
||||
yield exec.exec(`${script}`);
|
||||
yield exec.exec(`sh -c \\"${script}"`);
|
||||
}
|
||||
}
|
||||
catch (error) {
|
||||
|
||||
+1
-1
@@ -79,7 +79,7 @@ async function run() {
|
||||
// execute the custom script
|
||||
try {
|
||||
for (const script of scripts) {
|
||||
await exec.exec(`${script}`);
|
||||
await exec.exec(`sh -c \\"${script}"`);
|
||||
}
|
||||
} catch (error) {
|
||||
core.setFailed(error.message);
|
||||
|
||||
Reference in New Issue
Block a user