Hacker News new | ask | show | jobs
by ectopod 1363 days ago
Another surprise: "ubuntu-latest" is not the latest ubuntu! It is stuck at 20.04. If you want 22.04 you need to specify "ubuntu-22.04". Similar issue with macos-latest.
2 comments

well that is clearly specified in the docs.

"ubuntu-latest" isn't necessarily the latest Ubuntu, it's the latest version that has been fixed to the point of having no workflow-breaking known issues, I believe.

With 20.04, they were over a year behind when they finally updates the latest tag.
I suggest you follow the issues in that repo if you want to see why. it's difficult keeping the massive packer template they use in good shape.

https://github.com/actions/runner-images/

I rely on that repo to build my own images and it is a frequent cause of failed builds. I'm going to convert almost all of it to installation via homebrew instead, I think. works well for MacOS anyway.