Skip to content

Commit 6ee911b

Browse files
committed
revert nuke to 8.0.0 due to bug
1 parent 1b67fa5 commit 6ee911b

File tree

5 files changed

+117
-109
lines changed

5 files changed

+117
-109
lines changed

.github/workflows/DotNET-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ jobs:
3636
with:
3737
distribution: 'temurin'
3838
java-version: '17'
39-
- uses: actions/checkout@v4
39+
- uses: actions/checkout@v3
4040
with:
4141
fetch-depth: 0
4242
- name: 'Cache: .nuke/temp, ~/.nuget/packages'
43-
uses: actions/cache@v4
43+
uses: actions/cache@v3
4444
with:
4545
path: |
4646
.nuke/temp

.github/workflows/JS-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ jobs:
3636
with:
3737
distribution: 'temurin'
3838
java-version: '17'
39-
- uses: actions/checkout@v4
39+
- uses: actions/checkout@v3
4040
with:
4141
fetch-depth: 0
4242
- name: 'Cache: .nuke/temp, ~/.nuget/packages'
43-
uses: actions/cache@v4
43+
uses: actions/cache@v3
4444
with:
4545
path: |
4646
.nuke/temp

.github/workflows/Release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@ jobs:
4848
with:
4949
distribution: 'temurin'
5050
java-version: '17'
51-
- uses: actions/checkout@v4
51+
- uses: actions/checkout@v3
5252
with:
5353
fetch-depth: 0
5454
- name: 'Cache: .nuke/temp, ~/.nuget/packages'
55-
uses: actions/cache@v4
55+
uses: actions/cache@v3
5656
with:
5757
path: |
5858
.nuke/temp

.nuke/build.schema.json

Lines changed: 110 additions & 102 deletions
Original file line numberDiff line numberDiff line change
@@ -1,119 +1,68 @@
11
{
22
"$schema": "http://json-schema.org/draft-04/schema#",
3-
"properties": {
4-
"Configuration": {
5-
"type": "string",
6-
"description": "Configuration to build - Default is 'Debug' (local) or 'Release' (server)",
7-
"enum": [
8-
"Debug",
9-
"Release"
10-
]
11-
},
12-
"ElasticProvider": {
13-
"type": "string"
14-
},
15-
"MongoProvider": {
16-
"type": "string"
17-
},
18-
"MsSqlProvider": {
19-
"type": "string"
20-
},
21-
"MySqlProvider": {
22-
"type": "string"
23-
},
24-
"NugetApiKey": {
25-
"type": "string",
26-
"default": "Secrets must be entered via 'nuke :secrets [profile]'"
27-
},
28-
"PostgresProvider": {
29-
"type": "string"
30-
},
31-
"Solution": {
32-
"type": "string",
33-
"description": "Path to a solution file that is automatically loaded"
34-
},
35-
"SonarToken": {
36-
"type": "string",
37-
"default": "Secrets must be entered via 'nuke :secrets [profile]'"
38-
},
39-
"SonarTokenUi": {
40-
"type": "string",
41-
"default": "Secrets must be entered via 'nuke :secrets [profile]'"
42-
},
43-
"Ui": {
44-
"type": "string"
45-
}
46-
},
3+
"$ref": "#/definitions/build",
4+
"title": "Build Schema",
475
"definitions": {
48-
"Host": {
49-
"type": "string",
50-
"enum": [
51-
"AppVeyor",
52-
"AzurePipelines",
53-
"Bamboo",
54-
"Bitbucket",
55-
"Bitrise",
56-
"GitHubActions",
57-
"GitLab",
58-
"Jenkins",
59-
"Rider",
60-
"SpaceAutomation",
61-
"TeamCity",
62-
"Terminal",
63-
"TravisCI",
64-
"VisualStudio",
65-
"VSCode"
66-
]
67-
},
68-
"ExecutableTarget": {
69-
"type": "string",
70-
"enum": [
71-
"Backend_Clean",
72-
"Backend_Compile",
73-
"Backend_Report_Ci",
74-
"Backend_Restore",
75-
"Backend_SonarScan_End",
76-
"Backend_SonarScan_Start",
77-
"Backend_Test",
78-
"Backend_Test_Ci",
79-
"Clean",
80-
"Frontend_Build",
81-
"Frontend_Clean",
82-
"Frontend_Restore",
83-
"Frontend_Tests",
84-
"Frontend_Tests_Ci",
85-
"Pack",
86-
"Publish"
87-
]
88-
},
89-
"Verbosity": {
90-
"type": "string",
91-
"description": "",
92-
"enum": [
93-
"Verbose",
94-
"Normal",
95-
"Minimal",
96-
"Quiet"
97-
]
98-
},
99-
"NukeBuild": {
6+
"build": {
7+
"type": "object",
1008
"properties": {
9+
"Configuration": {
10+
"type": "string",
11+
"description": "Configuration to build - Default is 'Debug' (local) or 'Release' (server)",
12+
"enum": [
13+
"Debug",
14+
"Release"
15+
]
16+
},
10117
"Continue": {
10218
"type": "boolean",
10319
"description": "Indicates to continue a previously failed build attempt"
10420
},
21+
"ElasticProvider": {
22+
"type": "string"
23+
},
10524
"Help": {
10625
"type": "boolean",
10726
"description": "Shows the help text for this build assembly"
10827
},
10928
"Host": {
29+
"type": "string",
11030
"description": "Host for execution. Default is 'automatic'",
111-
"$ref": "#/definitions/Host"
31+
"enum": [
32+
"AppVeyor",
33+
"AzurePipelines",
34+
"Bamboo",
35+
"Bitbucket",
36+
"Bitrise",
37+
"GitHubActions",
38+
"GitLab",
39+
"Jenkins",
40+
"Rider",
41+
"SpaceAutomation",
42+
"TeamCity",
43+
"Terminal",
44+
"TravisCI",
45+
"VisualStudio",
46+
"VSCode"
47+
]
48+
},
49+
"MongoProvider": {
50+
"type": "string"
51+
},
52+
"MsSqlProvider": {
53+
"type": "string"
54+
},
55+
"MySqlProvider": {
56+
"type": "string"
11257
},
11358
"NoLogo": {
11459
"type": "boolean",
11560
"description": "Disables displaying the NUKE logo"
11661
},
62+
"NugetApiKey": {
63+
"type": "string",
64+
"default": "Secrets must be entered via 'nuke :secrets [profile]'"
65+
},
11766
"Partition": {
11867
"type": "string",
11968
"description": "Partition to use on CI"
@@ -122,6 +71,9 @@
12271
"type": "boolean",
12372
"description": "Shows the execution plan (HTML)"
12473
},
74+
"PostgresProvider": {
75+
"type": "string"
76+
},
12577
"Profile": {
12678
"type": "array",
12779
"description": "Defines the profiles to load",
@@ -137,22 +89,78 @@
13789
"type": "array",
13890
"description": "List of targets to be skipped. Empty list skips all dependencies",
13991
"items": {
140-
"$ref": "#/definitions/ExecutableTarget"
92+
"type": "string",
93+
"enum": [
94+
"Backend_Clean",
95+
"Backend_Compile",
96+
"Backend_Report_Ci",
97+
"Backend_Restore",
98+
"Backend_SonarScan_End",
99+
"Backend_SonarScan_Start",
100+
"Backend_Test",
101+
"Backend_Test_Ci",
102+
"Clean",
103+
"Frontend_Build",
104+
"Frontend_Clean",
105+
"Frontend_Restore",
106+
"Frontend_Tests",
107+
"Frontend_Tests_Ci",
108+
"Pack",
109+
"Publish"
110+
]
141111
}
142112
},
113+
"Solution": {
114+
"type": "string",
115+
"description": "Path to a solution file that is automatically loaded"
116+
},
117+
"SonarToken": {
118+
"type": "string",
119+
"default": "Secrets must be entered via 'nuke :secrets [profile]'"
120+
},
121+
"SonarTokenUi": {
122+
"type": "string",
123+
"default": "Secrets must be entered via 'nuke :secrets [profile]'"
124+
},
143125
"Target": {
144126
"type": "array",
145127
"description": "List of targets to be invoked. Default is '{default_target}'",
146128
"items": {
147-
"$ref": "#/definitions/ExecutableTarget"
129+
"type": "string",
130+
"enum": [
131+
"Backend_Clean",
132+
"Backend_Compile",
133+
"Backend_Report_Ci",
134+
"Backend_Restore",
135+
"Backend_SonarScan_End",
136+
"Backend_SonarScan_Start",
137+
"Backend_Test",
138+
"Backend_Test_Ci",
139+
"Clean",
140+
"Frontend_Build",
141+
"Frontend_Clean",
142+
"Frontend_Restore",
143+
"Frontend_Tests",
144+
"Frontend_Tests_Ci",
145+
"Pack",
146+
"Publish"
147+
]
148148
}
149149
},
150+
"Ui": {
151+
"type": "string"
152+
},
150153
"Verbosity": {
154+
"type": "string",
151155
"description": "Logging verbosity during build execution. Default is 'Normal'",
152-
"$ref": "#/definitions/Verbosity"
156+
"enum": [
157+
"Minimal",
158+
"Normal",
159+
"Quiet",
160+
"Verbose"
161+
]
153162
}
154163
}
155164
}
156-
},
157-
"$ref": "#/definitions/NukeBuild"
165+
}
158166
}

build/_build.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
</ItemGroup>
2222

2323
<ItemGroup>
24-
<PackageReference Include="Nuke.Common" Version="8.1.0" />
24+
<PackageReference Include="Nuke.Common" Version="8.0.0" />
2525
</ItemGroup>
2626

2727
<ItemGroup>

0 commit comments

Comments
 (0)