]> git.openstreetmap.org Git - nominatim.git/blobdiff - .github/actions/setup-postgresql/action.yml
modify logic of _include_key function
[nominatim.git] / .github / actions / setup-postgresql / action.yml
index 0742e66314a10a1afc6288c7e40391fc166b8ee6..060a678941b2610c5bfc29c4bada275812a7ccd3 100644 (file)
@@ -14,8 +14,10 @@ runs:
     steps:
         - name: Remove existing PostgreSQL
           run: |
     steps:
         - name: Remove existing PostgreSQL
           run: |
-              sudo apt-get update -qq
               sudo apt-get purge -yq postgresql*
               sudo apt-get purge -yq postgresql*
+              sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
+              sudo apt-get update -qq
+
           shell: bash
 
         - name: Install PostgreSQL
           shell: bash
 
         - name: Install PostgreSQL