Skip to content

Commit d846ecc

Browse files
Refactor GitConfig output to filter properties by name
1 parent 4b04662 commit d846ecc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/TestWorkflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ jobs:
105105
}
106106
107107
LogGroup 'Set outputs - GitConfig' {
108-
Set-GitHubOutput -Name 'GitConfig' -Value (Get-GitHubGitConfig | Select-Object -Property 'user.name','user.email')
108+
Set-GitHubOutput -Name 'GitConfig' -Value (Get-GitHubGitConfig | Where-Object { $_.Name -in 'user.name','user.email' })
109109
}
110110
111111
LogGroup 'Set outputs - Zen2' {

0 commit comments

Comments
 (0)