prusa3d / Prusa-Firmware

Firmware for Original Prusa i3 3D printer by PrusaResearch
GNU General Public License v3.0
1.99k stars 1.05k forks source link

CI: Add sudo apt-get update #4614

Closed gudnimg closed 4 months ago

gudnimg commented 4 months ago

See: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/customizing-github-hosted-runners#installing-software-on-ubuntu-runners

Note: Always run sudo apt-get update before installing a package. In case the apt index is stale, this command fetches and re-indexes any available packages, which helps prevent package installation failures.

Omitting this line was causing jobs to fail in another PR of mine: https://github.com/prusa3d/Prusa-Firmware/pull/4613