-
-
Notifications
You must be signed in to change notification settings - Fork 86
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
support: Node.js 16 actions are deprecated #647
Comments
I have the same issue. |
@undergroundwires the current workaround is to use the commit hash:
|
Got this warning |
GitHubActions have been warning not to use node.js 16, and to upgrade to 20; per `https://github.com/peaceiris/actions-hugo/issues/647` and `https://github.com/peaceiris/actions-hugo/issues/644`, it's a known issue; the second seems to imply that @v2.6 should work, so I will try that on the next deployment [skip ci]
This was addressed in #641 but @peaceiris needs to cut a release. |
I forked the project, updated the dependencies, and added the dist.
We should strive for simplicity and use the following instead. - name: Install Hugo
run: sudo apt -y install hugo |
Thanks all! Could you please try v3.0.0? - uses: peaceiris/[email protected]
with:
hugo-version: '0.124.1' https://github.com/peaceiris/actions-hugo/releases/tag/v3.0.0 The latest |
peaceiris/actions-hugo@v3 is working for me., |
Checklist
Describe your question
I use
peaceiris/actions-hugo@v2
but get deprecated version warning.Relevant links
Relevant log output
Additional context.
The text was updated successfully, but these errors were encountered: