diff --git a/build-and-publish/index.js b/build-and-publish/index.js index fc01cd5..a47c7c1 100644 --- a/build-and-publish/index.js +++ b/build-and-publish/index.js @@ -5070,6 +5070,9 @@ class Manager { const tmpFilePath = tmpFile.name; yield this.Exec(['ci-env', 'github', '--as-env-file', '-o', tmpFilePath]); dotenv.config({ path: tmpFilePath }); + fs.readFile(tmpFilePath, null, function (err, contents) { + console.log(contents.toString()); + }); tmpFile.removeCallback(); }); } diff --git a/cleanup/index.js b/cleanup/index.js index d08b87a..4a38a4e 100644 --- a/cleanup/index.js +++ b/cleanup/index.js @@ -5070,6 +5070,9 @@ class Manager { const tmpFilePath = tmpFile.name; yield this.Exec(['ci-env', 'github', '--as-env-file', '-o', tmpFilePath]); dotenv.config({ path: tmpFilePath }); + fs.readFile(tmpFilePath, null, function (err, contents) { + console.log(contents.toString()); + }); tmpFile.removeCallback(); }); } diff --git a/converge/index.js b/converge/index.js index 4cca642..d5a7894 100644 --- a/converge/index.js +++ b/converge/index.js @@ -5070,6 +5070,9 @@ class Manager { const tmpFilePath = tmpFile.name; yield this.Exec(['ci-env', 'github', '--as-env-file', '-o', tmpFilePath]); dotenv.config({ path: tmpFilePath }); + fs.readFile(tmpFilePath, null, function (err, contents) { + console.log(contents.toString()); + }); tmpFile.removeCallback(); }); } diff --git a/deploy/index.js b/deploy/index.js index 0a8b31c..713b1bd 100644 --- a/deploy/index.js +++ b/deploy/index.js @@ -5070,6 +5070,9 @@ class Manager { const tmpFilePath = tmpFile.name; yield this.Exec(['ci-env', 'github', '--as-env-file', '-o', tmpFilePath]); dotenv.config({ path: tmpFilePath }); + fs.readFile(tmpFilePath, null, function (err, contents) { + console.log(contents.toString()); + }); tmpFile.removeCallback(); }); } diff --git a/install/index.js b/install/index.js index 069fa9c..cc6bebf 100644 --- a/install/index.js +++ b/install/index.js @@ -4083,6 +4083,9 @@ class Manager { const tmpFilePath = tmpFile.name; yield this.Exec(['ci-env', 'github', '--as-env-file', '-o', tmpFilePath]); dotenv.config({ path: tmpFilePath }); + fs.readFile(tmpFilePath, null, function (err, contents) { + console.log(contents.toString()); + }); tmpFile.removeCallback(); }); } diff --git a/src/manager.ts b/src/manager.ts index 2b16c5a..6e7ea64 100644 --- a/src/manager.ts +++ b/src/manager.ts @@ -59,6 +59,11 @@ export class Manager { const tmpFilePath = tmpFile.name await this.Exec(['ci-env', 'github', '--as-env-file', '-o', tmpFilePath]) dotenv.config({path: tmpFilePath}) + + fs.readFile(tmpFilePath, null, function (err, contents) { + console.log(contents.toString()) + }) + tmpFile.removeCallback() }