mirror of
https://github.com/werf/actions.git
synced 2026-03-25 08:53:07 +03:00
Show ci-env file content
This commit is contained in:
@@ -5070,6 +5070,9 @@ class Manager {
|
|||||||
const tmpFilePath = tmpFile.name;
|
const tmpFilePath = tmpFile.name;
|
||||||
yield this.Exec(['ci-env', 'github', '--as-env-file', '-o', tmpFilePath]);
|
yield this.Exec(['ci-env', 'github', '--as-env-file', '-o', tmpFilePath]);
|
||||||
dotenv.config({ path: tmpFilePath });
|
dotenv.config({ path: tmpFilePath });
|
||||||
|
fs.readFile(tmpFilePath, null, function (err, contents) {
|
||||||
|
console.log(contents.toString());
|
||||||
|
});
|
||||||
tmpFile.removeCallback();
|
tmpFile.removeCallback();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5070,6 +5070,9 @@ class Manager {
|
|||||||
const tmpFilePath = tmpFile.name;
|
const tmpFilePath = tmpFile.name;
|
||||||
yield this.Exec(['ci-env', 'github', '--as-env-file', '-o', tmpFilePath]);
|
yield this.Exec(['ci-env', 'github', '--as-env-file', '-o', tmpFilePath]);
|
||||||
dotenv.config({ path: tmpFilePath });
|
dotenv.config({ path: tmpFilePath });
|
||||||
|
fs.readFile(tmpFilePath, null, function (err, contents) {
|
||||||
|
console.log(contents.toString());
|
||||||
|
});
|
||||||
tmpFile.removeCallback();
|
tmpFile.removeCallback();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5070,6 +5070,9 @@ class Manager {
|
|||||||
const tmpFilePath = tmpFile.name;
|
const tmpFilePath = tmpFile.name;
|
||||||
yield this.Exec(['ci-env', 'github', '--as-env-file', '-o', tmpFilePath]);
|
yield this.Exec(['ci-env', 'github', '--as-env-file', '-o', tmpFilePath]);
|
||||||
dotenv.config({ path: tmpFilePath });
|
dotenv.config({ path: tmpFilePath });
|
||||||
|
fs.readFile(tmpFilePath, null, function (err, contents) {
|
||||||
|
console.log(contents.toString());
|
||||||
|
});
|
||||||
tmpFile.removeCallback();
|
tmpFile.removeCallback();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5070,6 +5070,9 @@ class Manager {
|
|||||||
const tmpFilePath = tmpFile.name;
|
const tmpFilePath = tmpFile.name;
|
||||||
yield this.Exec(['ci-env', 'github', '--as-env-file', '-o', tmpFilePath]);
|
yield this.Exec(['ci-env', 'github', '--as-env-file', '-o', tmpFilePath]);
|
||||||
dotenv.config({ path: tmpFilePath });
|
dotenv.config({ path: tmpFilePath });
|
||||||
|
fs.readFile(tmpFilePath, null, function (err, contents) {
|
||||||
|
console.log(contents.toString());
|
||||||
|
});
|
||||||
tmpFile.removeCallback();
|
tmpFile.removeCallback();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4083,6 +4083,9 @@ class Manager {
|
|||||||
const tmpFilePath = tmpFile.name;
|
const tmpFilePath = tmpFile.name;
|
||||||
yield this.Exec(['ci-env', 'github', '--as-env-file', '-o', tmpFilePath]);
|
yield this.Exec(['ci-env', 'github', '--as-env-file', '-o', tmpFilePath]);
|
||||||
dotenv.config({ path: tmpFilePath });
|
dotenv.config({ path: tmpFilePath });
|
||||||
|
fs.readFile(tmpFilePath, null, function (err, contents) {
|
||||||
|
console.log(contents.toString());
|
||||||
|
});
|
||||||
tmpFile.removeCallback();
|
tmpFile.removeCallback();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -59,6 +59,11 @@ export class Manager {
|
|||||||
const tmpFilePath = tmpFile.name
|
const tmpFilePath = tmpFile.name
|
||||||
await this.Exec(['ci-env', 'github', '--as-env-file', '-o', tmpFilePath])
|
await this.Exec(['ci-env', 'github', '--as-env-file', '-o', tmpFilePath])
|
||||||
dotenv.config({path: tmpFilePath})
|
dotenv.config({path: tmpFilePath})
|
||||||
|
|
||||||
|
fs.readFile(tmpFilePath, null, function (err, contents) {
|
||||||
|
console.log(contents.toString())
|
||||||
|
})
|
||||||
|
|
||||||
tmpFile.removeCallback()
|
tmpFile.removeCallback()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user