Skip to content

Commit

Permalink
Merge branch 'master' into release/v2
Browse files Browse the repository at this point in the history
* master:
  Prepare for release 2.3.2.
  Fix escaped environment variables in script.
  • Loading branch information
ychescale9 committed Feb 4, 2020
2 parents 5dd12aa + d3a226f commit bdf1f83
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit bdf1f83

Please sign in to comment.