Skip to content

Commit 67f5433

Browse files
committed
ci: fix apt
1 parent ce5d33d commit 67f5433

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,13 @@ jobs:
5959
- name: "InstallDB"
6060
run: |
6161
echo "::group::apt-get-update"
62+
sudo -nH apt-get -q update
63+
sudo -nH apt install curl ca-certificates gnupg
64+
curl https://www.postgresql.org/media/keys/ACCC4CF8.asc \
65+
| gpg --dearmor \
66+
| sudo -nH tee /etc/apt/trusted.gpg.d/apt.postgresql.org.gpg
6267
echo "deb http://apt.postgresql.org/pub/repos/apt/ $(lsb_release -cs)-pgdg main ${{matrix.test.PG}}" \
63-
| sudo tee /etc/apt/sources.list.d/pgdg.list
68+
| sudo -nH tee /etc/apt/sources.list.d/pgdg.list
6469
sudo -nH apt-get -q update
6570
echo "::endgroup::"
6671

0 commit comments

Comments
 (0)