Debug file write

pull/326/head
Andrew Kahr 2022-01-26 00:07:51 -08:00
parent 0e8e980fc2
commit 9f8003cb91
3 changed files with 15 additions and 3 deletions

8
dist/index.js vendored
View File

@ -1361,7 +1361,13 @@ class SetupMac {
CUSTOM_PARAMETERS=${buildParameters.customParameters}
CHOWN_FILES_TO=${buildParameters.chownFilesTo}`;
//Since we are using shell scripts on the host, we need to set the environment variables from here
fs_1.default.writeFileSync(`${process.env.RUNNER_TEMP}/build.env`, environmentContent);
try {
console.log(`${process.env.RUNNER_TEMP}/build.env`);
fs_1.default.writeFileSync(`${process.env.RUNNER_TEMP}/build.env`, environmentContent);
}
catch (error) {
console.log(error);
}
});
}
}

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -1,3 +1,4 @@
/* eslint no-console: "off" */
import { BuildParameters } from '..';
import { getUnityChangeset } from 'unity-changeset';
import fs from 'fs';
@ -30,7 +31,12 @@ class SetupMac {
CUSTOM_PARAMETERS=${buildParameters.customParameters}
CHOWN_FILES_TO=${buildParameters.chownFilesTo}`;
//Since we are using shell scripts on the host, we need to set the environment variables from here
fs.writeFileSync(`${process.env.RUNNER_TEMP}/build.env`, environmentContent);
try {
console.log(`${process.env.RUNNER_TEMP}/build.env`);
fs.writeFileSync(`${process.env.RUNNER_TEMP}/build.env`, environmentContent);
} catch (error) {
console.log(error);
}
}
}