Skip to content

Commit 7645c37

Browse files
committed
Prune CI recipe a little
1 parent 786c9d4 commit 7645c37

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,10 @@ jobs:
5252
- name: 'Start PostgreSQL'
5353
run: |
5454
export PGVER=${{ matrix.ci.PGVER }}
55-
export PGDATA=/var/lib/postgresql/${{ matrix.ci.PGVER }}/main
56-
export PGETC=/etc/postgresql/${{ matrix.ci.PGVER }}/main
57-
export PGBIN=/usr/lib/postgresql/${{ matrix.ci.PGVER }}/bin
58-
export PGRUNNER=`whoami`
59-
sudo chmod -R 755 /home/${PGRUNNER}
55+
export PGDATA=/var/lib/postgresql/$PGVER/main
56+
export PGETC=/etc/postgresql/$PGVER/main
57+
export PGBIN=/usr/lib/postgresql/$PGVER/bin
58+
sudo chmod -R 755 /home/`whoami`
6059
sudo cp ./ci/pg_hba.conf $PGETC/pg_hba.conf
6160
sudo systemctl stop postgresql
6261
sudo pg_ctlcluster $PGVER main start

0 commit comments

Comments
 (0)