Skip to content

Commit

Permalink
allow fstknugetoken
Browse files Browse the repository at this point in the history
  • Loading branch information
TheAngryByrd committed Oct 16, 2023
1 parent b848570 commit af4e82a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build/build.fs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ let distGlob =

let githubToken = Environment.environVarOrNone "GITHUB_TOKEN"

let nugetToken = Environment.environVarOrNone "NUGET_TOKEN"
let nugetToken =
Environment.environVarOrNone "NUGET_TOKEN"
|> Option.orElseWith (fun () -> Environment.environVarOrNone "FSTK_NUGET_TOKEN")


let failOnBadExitAndPrint (p: ProcessResult) =
Expand Down Expand Up @@ -300,6 +302,7 @@ let initTargets () =

Option.iter (TraceSecrets.register "<GITHUB_TOKEN>") githubToken
Option.iter (TraceSecrets.register "<NUGET_TOKEN>") nugetToken
Option.iter (TraceSecrets.register "<FSTK_NUGET_TOKEN>") nugetToken


Target.create "Clean" clean
Expand Down

0 comments on commit af4e82a

Please sign in to comment.