Skip to content

Commit 9786139

Browse files
author
John Luo
committed
Undo change that stopped building installers in win-arm64 leg.
This reverts commit 03aab5d.
1 parent ef8a506 commit 9786139

File tree

1 file changed

+35
-7
lines changed

1 file changed

+35
-7
lines changed

.azure/pipelines/ci.yml

Lines changed: 35 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,15 @@ stages:
277277
agentOs: Windows
278278
installNodeJs: false
279279
installJdk: false
280+
artifacts:
281+
- name: Windows_arm64_Logs
282+
path: artifacts/log/
283+
publishOnError: true
284+
includeForks: true
285+
- name: Windows_arm64_Packages
286+
path: artifacts/packages/
287+
- name: Windows_arm64_Installers
288+
path: artifacts/installers/
280289
steps:
281290
- script: ./eng/build.cmd
282291
-ci
@@ -291,13 +300,32 @@ stages:
291300
$(_InternalRuntimeDownloadArgs)
292301
$(WindowsArm64LogArgs)
293302
displayName: Build ARM64
294-
artifacts:
295-
- name: Windows_arm64_Logs
296-
path: artifacts/log/
297-
publishOnError: true
298-
includeForks: true
299-
- name: Windows_arm64_Packages
300-
path: artifacts/packages/
303+
304+
# Windows installers bundle for arm64
305+
- script: ./eng/build.cmd
306+
-ci
307+
-noBuildRepoTasks
308+
-arch arm64
309+
-sign
310+
-buildInstallers
311+
-noBuildNative
312+
/p:DotNetSignType=$(_SignType)
313+
/p:AssetManifestFileName=aspnetcore-win-arm64.xml
314+
$(_BuildArgs)
315+
$(_PublishArgs)
316+
$(_InternalRuntimeDownloadArgs)
317+
$(WindowsArm64InstallersLogArgs)
318+
displayName: Build Arm64 Installers
319+
320+
# A few files must also go to the VS package feed.
321+
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest'), ne(variables['PostBuildSign'], 'true')) }}:
322+
- task: NuGetCommand@2
323+
displayName: Push Visual Studio packages
324+
inputs:
325+
command: push
326+
packagesToPush: 'artifacts/packages/**/VS.Redist.Common.AspNetCore.*.nupkg'
327+
nuGetFeedType: external
328+
publishFeedCredentials: 'DevDiv - VS package feed'
301329

302330

303331
# Build MacOS arm64

0 commit comments

Comments
 (0)