snapcore / action-build

A Github action for building Snapcraft projects
MIT License
42 stars 21 forks source link

Support the Ubuntu 24.04 Github runner image #76

Closed jhenstridge closed 2 months ago

jhenstridge commented 2 months ago

Changes to the ubuntu-24.04 image mean that our way of starting Snapcraft hangs, waiting for a password from sg (as detailed in https://github.com/actions/runner-images/issues/9932). This PR instead uses sudo -u $USER to run Snapcraft with a refreshed set of group memberships. This appears to work on the ubuntu-24.04 image as well as the older images.

I've also updated the CI testing matrixes to test on the new image and test a base: core24 project.