Skip to content

Commit

Permalink
CI: Run apt-get update before install
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
suutari-ai committed Nov 24, 2023
1 parent 093cbe2 commit b56d899
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b56d899

Please sign in to comment.