Fixes #66 -- include the current env when invoking the subprocess

This commit is contained in:
Alex Gaynor
2020-03-21 20:47:04 -04:00
committed by GitHub
parent a3a6becb2c
commit 6fd09f835d

View File

@@ -49,7 +49,7 @@ try {
}
};
options.env = {
options.env = Object.assign(process.env, {
GITHUB_ACTION: process.env.GITHUB_ACTION,
GITHUB_RUN_ID: process.env.GITHUB_RUN_ID,
GITHUB_REF: process.env.GITHUB_REF,