Skip to content

Commit d6821fa

Browse files
authored
[5.0-preview3] Remove Code_check job from publish-build-assets.yml dependsOn (#20559)
- re-enable the "Build SiteExtension" build step! - nit: remove redundant conditions for easier reading
1 parent 4bbf56b commit d6821fa

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.azure/pipelines/ci.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,16 +76,16 @@ variables:
7676
/p:DotNetPublishToBlobFeed=$(_DotNetPublishToBlobFeed)
7777
/p:DotNetPublishUsingPipelines=$(_PublishUsingPipelines)
7878
/p:DotNetArtifactsCategory=$(_DotNetArtifactsCategory)
79+
80+
# used for post-build phases, internal builds only
81+
- group: DotNet-AspNet-SDLValidation-Params
7982
- ${{ if in(variables['Build.Reason'], 'PullRequest') }}:
8083
- name: _BuildArgs
8184
value: ''
8285
- name: _SignType
8386
value: test
8487
- name: _PublishArgs
8588
value: ''
86-
# used for post-build phases, internal builds only
87-
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
88-
- group: DotNet-AspNet-SDLValidation-Params
8989

9090
stages:
9191
- stage: build
@@ -176,8 +176,7 @@ stages:
176176
-noBuildDeps
177177
$(_BuildArgs)
178178
$(_InternalRuntimeDownloadArgs)
179-
# Disabled until 3.1.3 is released
180-
condition: false
179+
condition: ne(variables['Build.Reason'], 'PullRequest')
181180
displayName: Build SiteExtension
182181

183182
# This runs code-signing on all packages, zips, and jar files as defined in build/CodeSign.targets. If https://github.com/dotnet/arcade/issues/1957 is resolved,
@@ -798,7 +797,6 @@ stages:
798797
- CodeSign_Xplat_Linux_musl_x64
799798
- CodeSign_Xplat_Linux_musl_arm64
800799
# In addition to the dependencies above, ensure the build was successful overall.
801-
- Code_check
802800
- Linux_Test
803801
- MacOS_Test
804802
- Source_Build

0 commit comments

Comments
 (0)