From b56d89995d3aa05e75d7ce4aa07505791ae41b0b Mon Sep 17 00:00:00 2001 From: Tuomas Suutari Date: Fri, 24 Nov 2023 14:35:48 +0200 Subject: [PATCH] CI: Run apt-get update before install The GitHub actions started to fail, because this step was unable to find the deb packages when installing the gdal-bin. It seems that the problem was related to package lists not being up-to-date and adding "apt-get update" before the installation helps. --- .github/workflows/main.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 527e21f3..aa5c26d4 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -82,7 +82,7 @@ jobs: python-version: "3.5" - name: Install GDAL - run: sudo apt-get install -y gdal-bin + run: sudo apt-get update && sudo apt-get install -y gdal-bin if: ${{ matrix.toxenv == 'sanitizer' }} - name: Install Tox and tox-gh-actions