Compare commits

...

3 Commits

Author SHA1 Message Date
Yang Chen bdf1f83901 Merge branch 'master' into release/v2
* master:
  Prepare for release 2.3.2.
  Fix escaped environment variables in script.
2020-02-04 12:28:52 +11:00
Yang Chen d3a226f97f Prepare for release 2.3.2. 2020-02-04 12:27:56 +11:00
Yang Chen 4082c705ad Fix escaped environment variables in script. 2020-02-04 12:25:35 +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);