File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ using Octokit;
16
16
17
17
var target = Argument ( "target" , "Default" ) ;
18
18
var configuration = Argument ( "configuration" , "Release" ) ;
19
- var isLocal = BuildSystem . IsLocalBuild ;
20
19
var isRunningOnUnix = IsRunningOnUnix ( ) ;
21
20
var isRunningOnWindows = IsRunningOnWindows ( ) ;
22
21
var isRunningOnAppVeyor = AppVeyor . IsRunningOnAppVeyor ;
@@ -128,7 +127,6 @@ Task("Create-Package")
128
127
129
128
Task ( "Publish-Package" )
130
129
. IsDependentOn ( "Create-Package" )
131
- . WithCriteria ( ( ) => isLocal )
132
130
. Does ( ( ) =>
133
131
{
134
132
var apiKey = EnvironmentVariable ( "NUGET_API_KEY" ) ;
@@ -150,7 +148,6 @@ Task("Publish-Package")
150
148
151
149
Task ( "Publish-Release" )
152
150
. IsDependentOn ( "Publish-Package" )
153
- . WithCriteria ( ( ) => isLocal )
154
151
. Does ( ( ) =>
155
152
{
156
153
var githubToken = EnvironmentVariable ( "GITHUB_API_TOKEN" ) ;
You can’t perform that action at this time.
0 commit comments