mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2025-06-08 13:11:11 +00:00
built done for changes
This commit is contained in:
parent
aa06bd5a2d
commit
3f779ed5d2
2 changed files with 20 additions and 16 deletions
|
@ -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')
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue