You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
new NuGetPushTaskBuilder()
.WithName("Publish")
.If("${{ github.event.inputs.publish == 'true' }}") // something like this should be added
.WithSearchPath(@"**\*.nupkg")
.WithApiKey("${{ secrets.NUGET_API_KEY }}")
.WithDestination("https://api.nuget.org/v3/index.json")
.Build()
I'm not sure if it should be If, WithIf, or maybe something else.
The text was updated successfully, but these errors were encountered:
icnocop
changed the title
Add support for specifying the condition which can prevent a task from running
EXPOSURES: Add support for specifying the condition which can prevent a task from running
Apr 4, 2023
For example, pending #43
should generate the following YAML:
I'm not sure if it should be
If
,WithIf
, or maybe something else.The text was updated successfully, but these errors were encountered: