Skip to content

Commit

Permalink
leave os name explicit for easier debug
Browse files Browse the repository at this point in the history
  • Loading branch information
pramsey committed Feb 25, 2022
1 parent 05f1061 commit 4f17e83
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,13 @@ jobs:

runs-on: ubuntu-20.04

# Github Runner for Ubuntu 20
# Github Runner for Ubuntu 20.04
# has PgSQL 14 installed by default
# We remove that, and then install the
# version we are testing.
env:
OS_PGVER: 14
OS_NAME: focal-pgdg


name: "CI"
Expand Down Expand Up @@ -47,8 +48,6 @@ jobs:
export PGDATA=/var/lib/postgresql/$PGVER/main
export PGETC=/etc/postgresql/$PGVER/main
export PGBIN=/usr/lib/postgresql/$PGVER/bin
source /etc/os-release
export OS_NAME=${UBUNTU_CODENAME}-pgdg
env
curl -L https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
sudo add-apt-repository "deb http://apt.postgresql.org/pub/repos/apt/ $OS_NAME main $PGVER"
Expand Down

0 comments on commit 4f17e83

Please sign in to comment.