Fix escaped environment variables in script.

This commit is contained in:
Yang Chen
2020-02-04 12:17:30 +11:00
committed by Yang
parent e53c6d9838
commit 4082c705ad
3 changed files with 3 additions and 2 deletions
+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);