Skip to content

Commit bdf1f83

Browse files
committed
Merge branch 'master' into release/v2
* master: Prepare for release 2.3.2. Fix escaped environment variables in script.
2 parents 5dd12aa + d3a226f commit bdf1f83

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed

.github/workflows/workflow.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,6 @@ jobs:
4646
emulator-options: -no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim -camera-back none
4747
disable-animations: true
4848
script: |
49+
echo $GITHUB_REPOSITORY
4950
./gradlew help
5051
./gradlew connectedDebugAndroidTest

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Change Log
22

3+
## v2.3.2
4+
5+
* Fixed an issue where environment variables are escaped in script.
6+
37
## v2.3.1
48

59
* Bumped Android Build tools to 29.0.3.

lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ function run() {
8484
// execute the custom script
8585
try {
8686
for (const script of scripts) {
87-
yield exec.exec(`${script}`);
87+
yield exec.exec(`sh -c \\"${script}"`);
8888
}
8989
}
9090
catch (error) {

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ async function run() {
7979
// execute the custom script
8080
try {
8181
for (const script of scripts) {
82-
await exec.exec(`${script}`);
82+
await exec.exec(`sh -c \\"${script}"`);
8383
}
8484
} catch (error) {
8585
core.setFailed(error.message);

0 commit comments

Comments
 (0)