Skip to content

Commit c78b78b

Browse files
committed
Updated example for ubuntu-26.04
1 parent 88eb899 commit c78b78b

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/step-ubuntu.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ on:
55
- .github/workflows/step-ubuntu.yml
66
jobs:
77
ubuntu:
8-
runs-on: ubuntu-24.04
8+
runs-on: ubuntu-26.04
99
steps:
1010
- name: Install pgvector
1111
run: |
1212
sudo /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh -y
13-
sudo apt-get install postgresql-16-pgvector
13+
sudo apt-get install postgresql-18-pgvector
1414
- run: sudo systemctl start postgresql
1515
- run: sudo -u postgres psql -c 'CREATE EXTENSION vector'

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ To add to the preinstalled Postgres installation on [runner images](https://gith
2121
- name: Install pgvector
2222
run: |
2323
sudo /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh -y
24-
sudo apt-get install postgresql-16-pgvector
24+
sudo apt-get install postgresql-18-pgvector
2525
```
2626
27-
Note: Replace `16` with `14` for `ubuntu-22.04`
27+
Note: Use `postgresql-16-pgvector` for `ubuntu-24.04` and `postgresql-14-pgvector` for `ubuntu-22.04`
2828

2929
See a [full example](https://github.com/pgvector/setup-pgvector/blob/master/.github/workflows/step-ubuntu.yml)
3030

0 commit comments

Comments
 (0)