Skip to content

Commit

Permalink
scram-sha-256 updated
Browse files Browse the repository at this point in the history
  • Loading branch information
semalaiappan committed Jul 24, 2024
1 parent ce6093e commit 290f6fb
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/Pkg EdFi.Database.Admin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,15 @@ name: Pkg EdFi.Database.Admin

on:
pull_request:
branches: ['main-5x', 'b-v*-patch*','feature-*']

branches:
- main-6x
paths:
- '**.sql'
push:
branches: ['main-5x', 'b-v*-patch*','feature-*']

branches:
- main
paths:
- '**.sql'
workflow_dispatch:

env:
Expand Down Expand Up @@ -60,7 +64,7 @@ jobs:
choco install sqlpackage
choco install postgresql11 --params '/Password:postgres'
$confPath = "C:\Program Files\PostgreSQL\11\data\pg_hba.conf"
(Get-Content $confPath).Replace("md5","trust") | Set-Content $confPath
(Get-Content $confPath).Replace("scram-sha-256","trust") | Set-Content $confPath
Restart-Service postgresql-x64-11
- name: Create Admin Database
shell: pwsh
Expand Down Expand Up @@ -100,4 +104,4 @@ jobs:
uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v4.3.0
with:
name: NugetPackages.Artifacts
path: ${{ github.workspace }}/NugetPackages/*.nupkg
path: ${{ github.workspace }}/NugetPackages/*.nupkg

0 comments on commit 290f6fb

Please sign in to comment.