Skip to content

Commit

Permalink
Added comment [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
ankane committed Mar 29, 2023
1 parent f86eae1 commit 57045c3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@ if (isMac()) {
} else {
// removed in https://github.com/actions/virtual-environments/pull/3091
if (!fs.existsSync('/etc/apt/sources.list.d/pgdg.list')) {
// beta versions require extra component
// development snapshots require this and -snapshot after pgdg
// https://wiki.postgresql.org/wiki/Apt/FAQ
const suffix = postgresVersion == 16 ? ` ${postgresVersion}` : "";
run(`curl -s https://www.postgresql.org/media/keys/ACCC4CF8.asc | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/apt.postgresql.org.gpg >/dev/null`)
run(`echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main${suffix}" | sudo tee /etc/apt/sources.list.d/pgdg.list`);
Expand Down

0 comments on commit 57045c3

Please sign in to comment.