Skip to content

Commit

Permalink
fix: regenerate nuke build schema (#123)
Browse files Browse the repository at this point in the history
Co-authored-by: Raphael Strotz <[email protected]>
  • Loading branch information
Xzelsius and Xzelsius authored Nov 7, 2024
1 parent 224f495 commit 4437ccb
Showing 1 changed file with 50 additions and 44 deletions.
94 changes: 50 additions & 44 deletions .nuke/build.schema.json
Original file line number Diff line number Diff line change
@@ -1,48 +1,5 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"properties": {
"Artifacts": {
"type": "string",
"description": "The directory where artifacts are to be dropped"
},
"DotNetConfiguration": {
"type": "string",
"description": "The .NET build configuration - Default is 'Debug' (local) or 'Release' (server)",
"enum": [
"Debug",
"Release"
]
},
"GitHubBaseUrl": {
"type": "string"
},
"GitHubToken": {
"type": "string",
"description": "The GitHub API token",
"default": "Secrets must be entered via 'nuke :secrets [profile]'"
},
"GitUserEmail": {
"type": "string",
"description": "The Git user email address"
},
"GitUserName": {
"type": "string",
"description": "The Git user name"
},
"NuGetApiKey": {
"type": "string",
"description": "The NuGet API key",
"default": "Secrets must be entered via 'nuke :secrets [profile]'"
},
"NuGetSource": {
"type": "string",
"description": "The NuGet server URL - Default is https://api.nuget.org/v3/index.json"
},
"Solution": {
"type": "string",
"description": "Path to a solution file that is automatically loaded"
}
},
"definitions": {
"Host": {
"type": "string",
Expand Down Expand Up @@ -160,5 +117,54 @@
}
}
},
"$ref": "#/definitions/NukeBuild"
"allOf": [
{
"properties": {
"Artifacts": {
"type": "string",
"description": "The directory where artifacts are to be dropped"
},
"DotNetConfiguration": {
"type": "string",
"description": "The .NET build configuration - Default is 'Debug' (local) or 'Release' (server)",
"enum": [
"Debug",
"Release"
]
},
"GitHubBaseUrl": {
"type": "string"
},
"GitHubToken": {
"type": "string",
"description": "The GitHub API token",
"default": "Secrets must be entered via 'nuke :secrets [profile]'"
},
"GitUserEmail": {
"type": "string",
"description": "The Git user email address"
},
"GitUserName": {
"type": "string",
"description": "The Git user name"
},
"NuGetApiKey": {
"type": "string",
"description": "The NuGet API key",
"default": "Secrets must be entered via 'nuke :secrets [profile]'"
},
"NuGetSource": {
"type": "string",
"description": "The NuGet server URL - Default is https://api.nuget.org/v3/index.json"
},
"Solution": {
"type": "string",
"description": "Path to a solution file that is automatically loaded"
}
}
},
{
"$ref": "#/definitions/NukeBuild"
}
]
}

0 comments on commit 4437ccb

Please sign in to comment.