Skip to content

Commit cd3979f

Browse files
committed
chore: add PSRepositoryApiKey to properties for publishing
1 parent 9ab3ecc commit cd3979f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

psakeFile.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ properties {
33
$PSBPreference.Build.CompileModule = $false
44
$PSBPreference.Help.DefaultLocale = 'en-US'
55
$PSBPreference.Test.OutputFile = 'out/testResults.xml'
6+
$PSBPreference.Publish.PSRepositoryApiKey = $env:PSGALLERY_API_KEY
67
}
78

89
task Default -depends Test

0 commit comments

Comments
 (0)