Skip to content

Commit

Permalink
bash
Browse files Browse the repository at this point in the history
  • Loading branch information
MichelleArk committed Sep 10, 2024
1 parent cd9123f commit 1982679
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/actions/setup-postgres-windows/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ runs:
run: |
choco install postgresql16 --params "/Password:password" --ia "--enable-components server,commandlinetools --extract-only 1" --no-progress
$Env:PG_BINDIR = & "$PROGRAMFILES/PostgreSQL/16/bin/pg_config.exe" --bindir | Out-String
$Env:PG_LIBDIR = & "$PROGRAMFILES/PostgreSQL/16/bin/pg_config.exe" --libdir | Out-String
bash -c PG_BINDIR=$("$PROGRAMFILES/PostgreSQL/${{ inputs.postgres-version }}/bin/pg_config.exe" --bindir)
bash -c PG_LIBDIR=$("$PROGRAMFILES/PostgreSQL/${{ inputs.postgres-version }}/bin/pg_config.exe" --libdir)
$pgService = Get-Service -Name postgresql*
Set-Service -InputObject $pgService -Status running -StartupType automatic
Expand Down

0 comments on commit 1982679

Please sign in to comment.