2424 AutoGenerate = false ,
2525 OnPullRequestBranches = new [ ] { MasterBranch , ReleaseBranch } ,
2626 PublishArtifacts = false ,
27- InvokedTargets = new [ ] { nameof ( Verify ) , nameof ( Cover ) , nameof ( Pack ) } ,
28- EnableGitHubToken = true ) ]
27+ InvokedTargets = new [ ] { nameof ( Verify ) , nameof ( Cover ) , nameof ( Pack ) } ) ]
2928[ GitHubActions (
3029 "release" ,
3130 GitHubActionsImage . WindowsLatest ,
3231 AutoGenerate = false ,
3332 OnPushTags = new [ ] { "v*" } ,
3433 PublishArtifacts = true ,
3534 InvokedTargets = new [ ] { nameof ( Verify ) , nameof ( Cover ) , nameof ( Publish ) } ,
36- EnableGitHubToken = true ,
3735 ImportSecrets = new [ ] { Secrets . NuGetApiKey } ) ]
3836partial class Build : NukeBuild
3937{
@@ -50,7 +48,6 @@ partial class Build : NukeBuild
5048 [ GitVersion ] readonly GitVersion GitVersion ;
5149 [ CI ] readonly GitHubActions GitHubActions ;
5250
53- [ Parameter ( "GitHub auth token" , Name = "github-token" ) , Secret ] readonly string GitHubToken ;
5451 [ Parameter ( "Forces the continuous integration build flag" ) ] readonly bool CI ;
5552
5653 [ Secret ] [ Parameter ( "NuGet API Key (secret)" , Name = Secrets . NuGetApiKey ) ] readonly string NuGetApiKey ;
0 commit comments