built done for changes

This commit is contained in:
Hargun Kaur 2021-10-07 17:22:47 +00:00 committed by GitHub
parent aa06bd5a2d
commit 3f779ed5d2
2 changed files with 20 additions and 16 deletions

View file

@ -21,7 +21,10 @@ export async function run() {
const versionFile = core.getInput('node-version-file');
if (!!versionFile) {
const versionFilePath = path.join(process.env.GITHUB_WORKSPACE!, versionFile);
const versionFilePath = path.join(
process.env.GITHUB_WORKSPACE!,
versionFile
);
version = installer.parseNodeVersionFile(
fs.readFileSync(versionFilePath, 'utf8')
);