With the release of Ubuntu 24.04, and the general availability of this version of Ubuntu as a GitHub runner, use it in place of ubuntu-latest (probably for the next 2 years). Similarly, Python 3.12 has a point release, 3.12.3, and that is the only version included with Ubuntu 24.04 runner, so all PyInstaller builds will use this version.
With the release of Ubuntu 24.04, and the general availability of this version of Ubuntu as a GitHub runner, use it in place of
ubuntu-latest
(probably for the next 2 years). Similarly, Python 3.12 has a point release, 3.12.3, and that is the only version included with Ubuntu 24.04 runner, so all PyInstaller builds will use this version.