]> git.openstreetmap.org Git - nominatim.git/commitdiff
Merge pull request #2269 from lonvia/fix-actions
authorSarah Hoffmann <lonvia@denofr.de>
Wed, 14 Apr 2021 15:50:02 +0000 (17:50 +0200)
committerGitHub <noreply@github.com>
Wed, 14 Apr 2021 15:50:02 +0000 (17:50 +0200)
github actions: reintroduce postgresql repo

.github/actions/setup-postgresql/action.yml

index 0742e66314a10a1afc6288c7e40391fc166b8ee6..060a678941b2610c5bfc29c4bada275812a7ccd3 100644 (file)
@@ -14,8 +14,10 @@ runs:
     steps:
         - name: Remove existing PostgreSQL
           run: |
-              sudo apt-get update -qq
               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