Skip to content

Commit

Permalink
Fix nuke build process.
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonmwebb-lv committed Nov 22, 2024
1 parent c44569e commit c5ee920
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 26 deletions.
56 changes: 31 additions & 25 deletions .nuke/build.schema.json
Original file line number Diff line number Diff line change
@@ -1,29 +1,5 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"properties": {
"CI": {
"type": "boolean"
},
"Configuration": {
"type": "string",
"description": "Configuration to build - Default is 'Debug' (local) or 'Release' (server)",
"enum": [
"Debug",
"Release"
]
},
"NUGETAPIKEY": {
"type": "string",
"default": "Secrets must be entered via 'nuke :secrets [profile]'"
},
"NuGetApiUrl": {
"type": "string"
},
"Solution": {
"type": "string",
"description": "Path to a solution file that is automatically loaded"
}
},
"definitions": {
"Host": {
"type": "string",
Expand Down Expand Up @@ -125,5 +101,35 @@
}
}
},
"$ref": "#/definitions/NukeBuild"
"allOf": [
{
"properties": {
"CI": {
"type": "boolean"
},
"Configuration": {
"type": "string",
"description": "Configuration to build - Default is 'Debug' (local) or 'Release' (server)",
"enum": [
"Debug",
"Release"
]
},
"NUGETAPIKEY": {
"type": "string",
"default": "Secrets must be entered via 'nuke :secrets [profile]'"
},
"NuGetApiUrl": {
"type": "string"
},
"Solution": {
"type": "string",
"description": "Path to a solution file that is automatically loaded"
}
}
},
{
"$ref": "#/definitions/NukeBuild"
}
]
}
2 changes: 1 addition & 1 deletion Build/Build.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Configuration.UserSecrets" Version="9.0.0" />
<PackageReference Include="Nuke.Common" Version="9.0.1" />
<PackageReference Include="Nuke.Common" Version="8.1.4" />
<PackageReference Include="Nuke.GitHub" Version="6.0.0" />
</ItemGroup>

Expand Down

0 comments on commit c5ee920

Please sign in to comment.