actions icon indicating copy to clipboard operation
actions copied to clipboard

Actions fails to install nodejs lts version

Open snowe2010 opened this issue 3 years ago • 1 comments

The action fails to install nodejs lts version. I'm not sure if this is just an issue with custom builder, but even if you ssh into the build server, source asdf, install the lts version, then rebuild from github, it still fails with the message:

Cloning node-build...
node-build: definition not found: lts
Error: Action failed with error Error: The process '/home/runner/.asdf/bin/asdf' failed with exit code 1

This does not appear to be a problem with asdf or the nodejs plugin, as it works to install both locally and manually on the server. It only fails through the action.

snowe2010 avatar Jul 26 '22 17:07 snowe2010

This happens because the action version is out of date. I think the support was introduced in ~v0.10.0 maybe @smorimoto can release a new version?

afirth avatar Aug 05 '22 11:08 afirth

Please test with this version: https://github.com/asdf-vm/actions/releases/tag/v2.0.0

Currently only supports full semver version referencing:

uses: asdf-vm/actions/[email protected]

jthegedus avatar Mar 09 '23 14:03 jthegedus

Reopen if issue persists

jthegedus avatar Mar 14 '23 04:03 jthegedus

Awesome. Thank you. I've actually been using master for a while due to other issues, but it seems like v2 will have everything I need. thanks!

snowe2010 avatar Mar 14 '23 17:03 snowe2010