Skip to content

Commit 818e7f8

Browse files
committed
Run restore nuke
1 parent bb9606e commit 818e7f8

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

.nuke/build.schema.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,10 @@
107107
"Release"
108108
]
109109
},
110+
"Output": {
111+
"type": "string",
112+
"description": "Output directory"
113+
},
110114
"Solution": {
111115
"type": "string",
112116
"description": "Path to a solution file that is automatically loaded"

VpmRepository.Build/Build.cs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,13 @@
2727
using Nuke.Common.Utilities;
2828
using System.Text.Json.Serialization;
2929
using System.Net.Http.Json;
30+
[GitHubActions(
31+
"build-repository",
32+
GitHubActionsImage.UbuntuLatest,
33+
On = new[] { GitHubActionsTrigger.WorkflowDispatch, GitHubActionsTrigger.Push },
34+
EnableGitHubToken = true,
35+
AutoGenerate = false,
36+
InvokedTargets = new[] { nameof(Publish) })]
3037
class Build : NukeBuild
3138
{
3239

@@ -78,7 +85,7 @@ GitHubClient GitHubClient
7885

7986
const string RepositoryManifestFileName = "index.json";
8087

81-
VpmRepositorySettings Settings { get; } = new()
88+
static VpmRepositorySettings Settings { get; } = new()
8289
{
8390
Id = "com.ramtype0.vpm-repository",
8491
Name = "Ram.Type-0 VPM Repository",

0 commit comments

Comments
 (0)