trying a fix for flow of logs
This commit is contained in:
parent
72f489a6ec
commit
dd342fb40d
@ -83,7 +83,7 @@ function getArcKubeconfig() {
|
|||||||
const kubeconfigPath = path.join(runnerTempDirectory, `kubeconfig_${Date.now()}`);
|
const kubeconfigPath = path.join(runnerTempDirectory, `kubeconfig_${Date.now()}`);
|
||||||
let azPath = yield io.which("az", true);
|
let azPath = yield io.which("az", true);
|
||||||
let out = fs.openSync('./out.log', 'a');
|
let out = fs.openSync('./out.log', 'a');
|
||||||
let err = fs.openSync('./out.log', 'a');
|
let err = fs.openSync('./err.log', 'a');
|
||||||
if (method == 'service-account') {
|
if (method == 'service-account') {
|
||||||
let saToken = core.getInput('token');
|
let saToken = core.getInput('token');
|
||||||
if (!saToken) {
|
if (!saToken) {
|
||||||
|
@ -79,7 +79,7 @@ export async function getArcKubeconfig(): Promise<string> {
|
|||||||
const kubeconfigPath = path.join(runnerTempDirectory, `kubeconfig_${Date.now()}`);
|
const kubeconfigPath = path.join(runnerTempDirectory, `kubeconfig_${Date.now()}`);
|
||||||
let azPath = await io.which("az", true);
|
let azPath = await io.which("az", true);
|
||||||
let out = fs.openSync('./out.log', 'a');
|
let out = fs.openSync('./out.log', 'a');
|
||||||
let err = fs.openSync('./out.log', 'a');
|
let err = fs.openSync('./err.log', 'a');
|
||||||
if (method == 'service-account'){
|
if (method == 'service-account'){
|
||||||
let saToken = core.getInput('token');
|
let saToken = core.getInput('token');
|
||||||
if(!saToken){
|
if(!saToken){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user