apt update seems to be necessary
diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml
index 8417b24..e4825cd 100644
--- a/.github/workflows/c-cpp.yml
+++ b/.github/workflows/c-cpp.yml
@@ -22,7 +22,9 @@
- name: download Boost
run: make boost
- name: install PostgreSQL
- run: sudo apt-get -y install postgresql-14 postgresql-client-14 postgresql-server-dev-14 libpq-dev
+ run: |
+ sudo apt update
+ sudo apt -y install postgresql-14 postgresql-client-14 postgresql-server-dev-14 libpq-dev
- name: make
run: make
- name: install