Merge branch 'master' into release/v2

* master:
  Prepare for release 2.3.2.
  Fix escaped environment variables in script.
This commit is contained in:
Yang Chen
2020-02-04 12:28:52 +11:00
4 changed files with 7 additions and 2 deletions
+1
View File
@@ -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
+4
View File
@@ -1,5 +1,9 @@
# Change Log
## v2.3.2
* Fixed an issue where environment variables are escaped in script.
## v2.3.1
* Bumped Android Build tools to 29.0.3.
+1 -1
View File
@@ -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
View File
@@ -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);