Fix escaped environment variables in script.

This commit is contained in:
Yang Chen authored and Yang committed 2020-02-04 12:25:35 +11:00
1 parent e53c6d9838
commit 4082c705ad
3 files changed
+3 -2

No files matched your search

+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);