New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. (Parameter ''using: node16' is not supported, use 'docker' or 'node12' instead.') #159
Comments
This comment was marked as spam.
This comment was marked as spam.
Downgrading to v1.13.0 resolves the issue e.g.
|
Can someone post his workflow please? Is it a self-hosted runner? Thx. |
For us yes, this is a self hosted runner on GHE and we were caught off guard because we were pinned to @v1, pinning to 1.13.0 resolves the issue, but maybe this should be a major version bump? |
@BenV Which version of self-hosted runner? Node 16 is available since v2.285.0 (29 Nov 2021). Friendly ping @TingluoHuang just in case it's something else than an outdated runner. |
@crazy-max Looks like 2.283.3 (Oct 04, 2021) - fairly old, but not ancient (IMO) |
@BenV fwiw, Node 12 is EOL on April 30, 2022. |
@crazy-max Sure, I'm just a consumer of this stuff at a corporation (which is the position I'm sure many others are in on GHE) - this has started a conversation about version/SHA pinning for our actions which is certainly a good thing in the long run, and hopefully anyone who runs into this problem will be able to find this workaround easily enough, just wanted to provide the information. Thanks for looking into it! |
@BenV Oh sure I don't blame anyone but I was thinking self-hosted runner had an auto-update feature? Maybe you have |
@crazy-max No idea to be honest, I will certainly ask. I would not be surprised if they were disabled. Thanks again! |
The latest stable release of Github Enterprise Server 3.3.4 ships with actions runner 2.283.3. I know I don't have |
We are on github enterprise, on prem, and are running 2.279.0 We saw the errors, and downgrading to force 1.13 appears to fix for us. |
Node 16 support won't be available to GHE until 3.4, which is still in RC: https://docs.github.com/en/enterprise-server@3.4/admin/release-notes#3.4.0.rc1 ... I'm uncertain as to whether it is simply a matter of upgrading to a newer version of the actions runner... There seems to be a tight coupling of the actions runner version and the GHE version. Really, this feels like a breaking change for GHE users. |
@justfalter Thanks a lot for your feedback! I will move the mutable |
|
@crazy-max Keep in mind that not everyone will be immediately upgrading to GHE 3.4 once it is released. Enterprises can be slow-moving. I don't know if GHA provides any telemetry for what version of GHE is leveraging your actions, but this seems like an excellent use case for such information. |
Behaviour
After pulling the latest version 1.14.0, I'm getting the following error
Error: System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. (Parameter ''using: node16' is not supported, use 'docker' or 'node12' instead.')
Steps to reproduce this issue
Error: Fail to load docker/login-action/v1/action.yml
Expected behaviour
Actual behaviour
Logs
The text was updated successfully, but these errors were encountered: