File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -88,6 +88,9 @@ let docsSiteBaseUrl = sprintf "https://%s.github.io/%s" gitOwner gitRepoName
8888
8989let disableCodeCoverage = environVarAsBoolOrDefault " DISABLE_COVERAGE" true
9090
91+ let nugetApiKey = Environment.environVar " BD_NUGET_TOKEN"
92+ TraceSecrets.register " BD_NUGET_TOKEN" nugetApiKey
93+
9194//-----------------------------------------------------------------------------
9295// Helpers
9396//-----------------------------------------------------------------------------
@@ -420,12 +423,11 @@ let dotnetPack ctx =
420423 )
421424
422425
423-
424426let publishToNuget _ =
425427 isReleaseBranchCheck ()
426428 Paket.push( fun c ->
427429 { c with
428- ApiKey = Environment.environVar " BD_NUGET_TOKEN "
430+ ApiKey = nugetApiKey
429431 ToolType = ToolType.CreateLocalTool()
430432 PublishUrl = publishUrl
431433 WorkingDir = " dist"
You can’t perform that action at this time.
0 commit comments