File tree Expand file tree Collapse file tree 6 files changed +19
-3
lines changed Expand file tree Collapse file tree 6 files changed +19
-3
lines changed Original file line number Diff line number Diff line change @@ -137,7 +137,8 @@ jobs:
137
137
run : |
138
138
mkdir -p ./src/vscode-bicep-notice/inputs
139
139
npm --prefix ./src/vscode-bicep list -a --json > ./src/vscode-bicep-notice/inputs/npm-list.json
140
- cp ./src/Bicep.LangServer/obj/project.assets.json ./src/vscode-bicep-notice/inputs/project.assets.json
140
+ cp ./src/Bicep.LangServer/obj/project.assets.json ./src/vscode-bicep-notice/inputs/langserver.assets.json
141
+ cp ./src/Bicep.McpServer/obj/project.assets.json ./src/vscode-bicep-notice/inputs/mcpserver.assets.json
141
142
dotnet build --configuration Release ./src/vscode-bicep-notice/vscode-bicep-notice.proj
142
143
143
144
- name : Create VSIX
Original file line number Diff line number Diff line change 48
48
- name : Publish Language Server
49
49
run : dotnet publish --configuration Release ./src/Bicep.LangServer/Bicep.LangServer.csproj
50
50
51
+ - name : Publish MCP Server
52
+ run : dotnet publish --configuration Release ./src/Bicep.McpServer/Bicep.McpServer.csproj
53
+
51
54
# this command is not correct for releasing the binaries but is sufficient for the purposes of this job
52
55
- name : Windows Installer prerequisites
53
56
run : mkdir ./src/installer-win/bicep && copy ./src/Bicep.Cli/obj/project.assets.json ./src/installer-win/bicep/ && copy ./src/Bicep.Cli/bin/Release/net8.0/bicep.* ./src/installer-win/bicep/
62
65
run : dotnet build --configuration Release /p:RuntimeSuffix=win-x64 ./src/Bicep.Cli.Nuget/nuget.proj
63
66
64
67
- name : VSIX Notice prerequisites
65
- run : mkdir ./src/vscode-bicep-notice/inputs && copy ./src/Bicep.LangServer/obj/project.assets.json ./src/vscode-bicep-notice/inputs/
68
+ run : |
69
+ mkdir ./src/vscode-bicep-notice/inputs
70
+ copy ./src/Bicep.LangServer/obj/project.assets.json ./src/vscode-bicep-notice/inputs/langserver.assets.json
71
+ copy ./src/Bicep.McpServer/obj/project.assets.json ./src/vscode-bicep-notice/inputs/mcpserver.assets.json
66
72
67
73
- name : npm ci
68
74
run : npm ci
Original file line number Diff line number Diff line change 5
5
<TargetFramework >net8.0</TargetFramework >
6
6
<ImplicitUsings >enable</ImplicitUsings >
7
7
<Nullable >enable</Nullable >
8
+ <!-- generates a NOTICE file in the publish output using our custom targets -->
9
+ <EnableNoticeInPublishOutput >true</EnableNoticeInPublishOutput >
8
10
</PropertyGroup >
9
11
10
12
<ItemGroup >
Original file line number Diff line number Diff line change 2
2
"version" : 1 ,
3
3
"dependencies" : {
4
4
"net8.0" : {
5
+ "Azure.Deployments.Internal.GenerateNotice" : {
6
+ "type" : " Direct" ,
7
+ "requested" : " [0.1.45, )" ,
8
+ "resolved" : " 0.1.45" ,
9
+ "contentHash" : " q2beLPQVvqyTU0hzQrW1b9rO0nlOiTN18c5xpr/HycmGdLXfaFleayi9gDAzGQHD5cOnrLISlwyUxJIa4HC+fQ=="
10
+ },
5
11
"Microsoft.CodeAnalysis.BannedApiAnalyzers" : {
6
12
"type" : " Direct" ,
7
13
"requested" : " [3.3.4, )" ,
Original file line number Diff line number Diff line change 25
25
26
26
<Target Name =" PrepareForNoticeGeneration" BeforeTargets =" GenerateNotice" >
27
27
<ItemGroup >
28
- <GenerateNoticeAssetFile Include =" $(MSBuildProjectDirectory)\inputs\project.assets.json" />
28
+ <GenerateNoticeAssetFile Include =" $(MSBuildProjectDirectory)\inputs\langserver.assets.json" />
29
+ <GenerateNoticeAssetFile Include =" $(MSBuildProjectDirectory)\inputs\mcpserver.assets.json" />
29
30
<GenerateNoticeNpmListJsonFile Include =" $(MSBuildProjectDirectory)\inputs\npm-list.json" />
30
31
</ItemGroup >
31
32
<PropertyGroup >
You can’t perform that action at this time.
0 commit comments