From 22cdd60aefcdd56d625568368be3462cb87a3d43 Mon Sep 17 00:00:00 2001 From: Mike Alfare Date: Mon, 29 Jan 2024 18:54:19 -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 0d46b177..4b21e2f2 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 PGUSER=postgres - sudo su - postgres export PGUSER - sudo su - postgres PGPORT=5432 - sudo su - postgres export PGPORT - sudo su - postgres PGHOST=localhost - sudo su - postgres export PGHOST - sudo su - postgres 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