Skip to content

Commit bac7602

Browse files
authored
Do not used arcades publish for signed build of vsixes (#18660)
1 parent 4790b9e commit bac7602

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

azure-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ extends:
133133
- checkout: self
134134
clean: true
135135
- template: /eng/restore-internal-tools.yml
136-
- script: eng\CIBuildNoPublish.cmd
136+
- script: eng\CIBuild.cmd
137137
-configuration $(_BuildConfig)
138138
-prepareMachine
139139
-testAllButIntegrationAndAot

eng/Build.ps1

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -562,6 +562,7 @@ try {
562562
$script:BuildMessage = "Failure building product"
563563
if ($restore -or $build -or $rebuild -or $pack -or $sign -or $publish -and -not $skipBuild -and -not $productBuild) {
564564
$originalSignValue = $sign
565+
$originalPublishValue = $publish
565566
if ($msbuildEngine -eq "dotnet") {
566567
# Building FSharp.sln and VisualFSharp.sln with .NET Core MSBuild
567568
# don't produce any artifacts to sign. Skip signing in this case.
@@ -571,9 +572,12 @@ try {
571572
BuildSolution "FSharp.sln" $False
572573
}
573574
else {
575+
# vsixes do not count as publishing artifacts from Arcade perspective, and arcade publish.proj is failing when it encounters 0 items to publish.
576+
$publish = $False
574577
BuildSolution "VisualFSharp.sln" $False
575578
}
576579
$sign = $originalSignValue
580+
$publish = $originalPublishValue
577581
}
578582

579583
if ($testBenchmarks) {

0 commit comments

Comments
 (0)