run apt-get update before fetching Ubuntu packages

This commit is contained in:
Martin Kroeker
2024-02-26 14:19:50 +01:00
committed by GitHub
parent ea167328f1
commit 175e357f5d

View File

@@ -42,6 +42,7 @@ jobs:
- name: Install Dependencies
run: |
if [ "$RUNNER_OS" == "Linux" ]; then
sudo apt-get update
sudo apt-get install -y gfortran cmake ccache libtinfo5
elif [ "$RUNNER_OS" == "macOS" ]; then
# It looks like "gfortran" isn't working correctly unless "gcc" is re-installed.