From 2ff41676a193205488d1196ac3c971fe9e6f228a Mon Sep 17 00:00:00 2001 From: Mike Alfare Date: Mon, 29 Jan 2024 18:56:59 -0500 Subject: [PATCH] test add environment variables from script --- .github/actions/setup-postgres-linux/action.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/actions/setup-postgres-linux/action.yml b/.github/actions/setup-postgres-linux/action.yml index 3dc6a2eb..4d011b17 100644 --- a/.github/actions/setup-postgres-linux/action.yml +++ b/.github/actions/setup-postgres-linux/action.yml @@ -14,10 +14,10 @@ runs: - name: Configure the database shell: bash run: | - sudo su - postgres bash PGUSER="postgres" - sudo su - postgres bash export PGUSER - sudo su - postgres bash PGPORT="5432" - sudo su - postgres bash export PGPORT - sudo su - postgres bash PGHOST="localhost" - sudo su - postgres bash export PGHOST - sudo su - postgres bash createdb dbt + sudo su - postgres bash "PGUSER=postgres" + sudo su - postgres bash "export PGUSER" + sudo su - postgres bash "PGPORT=5432" + sudo su - postgres bash "export PGPORT" + sudo su - postgres bash "PGHOST=localhost" + sudo su - postgres bash "export PGHOST" + sudo su - postgres bash "createdb dbt"