Skip to content
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

Workflow fails after upgrade to node20 #37

Open
oakh1 opened this issue Feb 11, 2024 · 1 comment
Open

Workflow fails after upgrade to node20 #37

oakh1 opened this issue Feb 11, 2024 · 1 comment

Comments

@oakh1
Copy link

oakh1 commented Feb 11, 2024

After updating to node20 using this workflow fails in "not updated runners". For those runners I have no possibility to update them myself, but every workflow fails with:

Download action repository 'synchronized-actions/cschleiden-replace-tokens@v1' (SHA:4d5a042c84c3568b3858b7af9394923d2d5195c9)
Error: System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. (Parameter ''using: node20' is not supported, use 'docker', 'node12' or 'node16' instead.')
at GitHub.Runner.Worker.ActionManifestManager.ConvertRuns(IExecutionContext executionContext, TemplateContext templateContext, TemplateToken inputsToken, String fileRelativePath, MappingToken outputs)
at GitHub.Runner.Worker.ActionManifestManager.Load(IExecutionContext executionContext, String manifestFile)
Error: Fail to load synchronized-actions/cschleiden-replace-tokens/v1/action.yml

This change to node20 should be a major release (v2) as it's a breaking change.

The same thing has happened to multiple other github actions, for example google-github-actions/auth#347

@cschleiden
Copy link
Owner

Instead of the moving v1 tag, use a specific one like 1.2 or 1.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants