File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
src/PostSharp.Engineering.BuildTools/Resources Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 44[CmdletBinding ()]
55param (
66 [Parameter (Mandatory )]
7- [string ]$SecretsPath
7+ [string ]$envFilePath
88)
99
10- if (-not (Test-Path $SecretsPath ))
10+ if (-not (Test-Path $envFilePath ))
1111{
12- Write-Error " Secrets file not found: $SecretsPath "
12+ Write-Error " Environment file not found: $envFilePath "
1313 exit 1
1414}
1515
1616try
1717{
18- Write-Host " Reading secrets from: $SecretsPath " - ForegroundColor Cyan
19- $secrets = Get-Content - Path $SecretsPath - Raw | ConvertFrom-Json
18+ Write-Host " Reading environment variables from: $envFilePath " - ForegroundColor Cyan
19+ $secrets = Get-Content - Path $envFilePath - Raw | ConvertFrom-Json
2020
2121 foreach ($property in $secrets.PSObject.Properties )
2222 {
You can’t perform that action at this time.
0 commit comments