]> git.openstreetmap.org Git - nominatim.git/blobdiff - .github/actions/setup-postgresql/action.yml
actions: update apt repo before installing software
[nominatim.git] / .github / actions / setup-postgresql / action.yml
index a5716be5b445ea668b204c4f654bb85d4bc4888b..98086f2d0a40acd0bab26b47a95e4d05e27afbfc 100644 (file)
@@ -5,7 +5,9 @@ runs:
 
     steps:
         - name: Install postgis
-          run: sudo apt-get install -y -qq postgresql-13-postgis-3 postgresql-13-postgis-3-scripts postgresql-server-dev-13
+          run: |
+            sudo apt-get update -qq
+            sudo apt-get install -y -qq postgresql-13-postgis-3 postgresql-13-postgis-3-scripts postgresql-server-dev-13
           shell: bash
 
         - name: Adapt postgresql configuration