Debug file write
parent
0e8e980fc2
commit
9f8003cb91
|
|
@ -1361,7 +1361,13 @@ class SetupMac {
|
||||||
CUSTOM_PARAMETERS=${buildParameters.customParameters}
|
CUSTOM_PARAMETERS=${buildParameters.customParameters}
|
||||||
CHOWN_FILES_TO=${buildParameters.chownFilesTo}`;
|
CHOWN_FILES_TO=${buildParameters.chownFilesTo}`;
|
||||||
//Since we are using shell scripts on the host, we need to set the environment variables from here
|
//Since we are using shell scripts on the host, we need to set the environment variables from here
|
||||||
|
try {
|
||||||
|
console.log(`${process.env.RUNNER_TEMP}/build.env`);
|
||||||
fs_1.default.writeFileSync(`${process.env.RUNNER_TEMP}/build.env`, environmentContent);
|
fs_1.default.writeFileSync(`${process.env.RUNNER_TEMP}/build.env`, environmentContent);
|
||||||
|
}
|
||||||
|
catch (error) {
|
||||||
|
console.log(error);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -1,3 +1,4 @@
|
||||||
|
/* eslint no-console: "off" */
|
||||||
import { BuildParameters } from '..';
|
import { BuildParameters } from '..';
|
||||||
import { getUnityChangeset } from 'unity-changeset';
|
import { getUnityChangeset } from 'unity-changeset';
|
||||||
import fs from 'fs';
|
import fs from 'fs';
|
||||||
|
|
@ -30,7 +31,12 @@ class SetupMac {
|
||||||
CUSTOM_PARAMETERS=${buildParameters.customParameters}
|
CUSTOM_PARAMETERS=${buildParameters.customParameters}
|
||||||
CHOWN_FILES_TO=${buildParameters.chownFilesTo}`;
|
CHOWN_FILES_TO=${buildParameters.chownFilesTo}`;
|
||||||
//Since we are using shell scripts on the host, we need to set the environment variables from here
|
//Since we are using shell scripts on the host, we need to set the environment variables from here
|
||||||
|
try {
|
||||||
|
console.log(`${process.env.RUNNER_TEMP}/build.env`);
|
||||||
fs.writeFileSync(`${process.env.RUNNER_TEMP}/build.env`, environmentContent);
|
fs.writeFileSync(`${process.env.RUNNER_TEMP}/build.env`, environmentContent);
|
||||||
|
} catch (error) {
|
||||||
|
console.log(error);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue