peaceiris / actions-hugo

GitHub Actions for Hugo ⚡️ Setup Hugo quickly and build your site fast. Hugo extended, Hugo Modules, Linux (Ubuntu), macOS, and Windows are supported.
https://github.com/marketplace/actions/hugo-setup
MIT License
1.41k stars 84 forks source link

feat: bump to use node20 runtime #641

Closed chenrui333 closed 7 months ago

chenrui333 commented 9 months ago

This is consistent with all the recent github action updates. (mostly in actions repos, like actions/checkout, actions/setup-node, etc.)


Node12 was deleted from runner. Node20 was added to Actions Runner on v2.308.0. Node16 has en end of life on 11 Sep 2023.

This PR updates the default runtime to node20, rather then node16

relates to https://github.com/actions/runner/pull/2732

chenrui333 commented 9 months ago

cc @peaceiris (it would also need a major release 3.0.0 after the PR merge)

peaceiris commented 9 months ago

It will be released as the first version of 2024 together with other bug fixes! ʕ◔ϖ◔ʔ

peaceiris commented 9 months ago

👀 https://github.com/peaceiris/actions-hugo/actions/runs/7292054840/job/19882165078?pr=641

chenrui333 commented 9 months ago

looks like CI is not happy with the dist artifact checkin, I will move it into separate PR.

chenrui333 commented 9 months ago

@peaceiris works fine now, https://github.com/chenrui333/actions-hugo/actions/runs/7296900196

cagataygurturk commented 8 months ago

Any ETA for its release?

peaceiris commented 7 months ago

Thank you so much! ʕ◔ϖ◔ʔ

melhuang commented 7 months ago

do we need to wait for a major version release as well?

chenrui333 commented 5 months ago

@peaceiris we need a major version release per this merge.

peaceiris commented 5 months ago

The tag v3.0.0 was released last week. The v3 tag is also available. ʕ◔ϖ◔ʔ

https://github.com/peaceiris/actions-hugo/releases/tag/v3.0.0