From ed27faf0fe3f1ce575edbaebd3b9d5aba505fa33 Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Fri, 29 Mar 2024 12:27:03 -0400 Subject: [PATCH] [CI] Prevent occasional missing apt package errors on .NET build --- .github/workflows/main.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6679023bbf..02d4f52e49 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -784,7 +784,9 @@ jobs: run: brew install --display-times hdf5 if: matrix.os == 'macos-11' - name: Install Apt dependencies (Ubuntu) - run: sudo apt install libhdf5-dev libfmt-dev + run: | + sudo apt update + sudo apt install libhdf5-dev libfmt-dev if: matrix.os == 'ubuntu-22.04' - name: Setup .NET Core SDK uses: actions/setup-dotnet@v2