From 328d9ef328ded865b89b08706b83489267cade41 Mon Sep 17 00:00:00 2001 From: Mike Alfare Date: Mon, 29 Jan 2024 15:48:18 -0500 Subject: [PATCH] woohoo --- .github/actions/setup-postgres-linux/action.yml | 9 ++++----- .github/actions/setup-postgres-linux/setup_db.sh | 1 + 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/actions/setup-postgres-linux/action.yml b/.github/actions/setup-postgres-linux/action.yml index 51688dea..d518dac1 100644 --- a/.github/actions/setup-postgres-linux/action.yml +++ b/.github/actions/setup-postgres-linux/action.yml @@ -7,8 +7,7 @@ runs: - name: Start the postgres service shell: bash - run: echo "woohoo" -# sudo systemctl start postgresql.service -# pg_isready -# sudo chmod a+x ${{ github.action_path }}/setup_db.sh -# sudo -u postgres bash ${{ github.action_path }}/setup_db.sh + run: | + sudo systemctl start postgresql.service + pg_isready + sudo -u postgres bash ${{ github.action_path }}/setup_db.sh diff --git a/.github/actions/setup-postgres-linux/setup_db.sh b/.github/actions/setup-postgres-linux/setup_db.sh index de59bf0f..0d3f0a74 100755 --- a/.github/actions/setup-postgres-linux/setup_db.sh +++ b/.github/actions/setup-postgres-linux/setup_db.sh @@ -1,5 +1,6 @@ #!/bin/bash set -x +echo "woohoo" env | grep '^PG' # If you want to run this script for your own postgresql (run with