[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
This commit is contained in:
Doug Bunting 2020-04-05 15:29:17 -07:00 committed by GitHub
parent 4bbf56b26f
commit d6821faebd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 6 deletions

View File

@ -76,6 +76,9 @@ variables:
/p:DotNetPublishToBlobFeed=$(_DotNetPublishToBlobFeed) /p:DotNetPublishToBlobFeed=$(_DotNetPublishToBlobFeed)
/p:DotNetPublishUsingPipelines=$(_PublishUsingPipelines) /p:DotNetPublishUsingPipelines=$(_PublishUsingPipelines)
/p:DotNetArtifactsCategory=$(_DotNetArtifactsCategory) /p:DotNetArtifactsCategory=$(_DotNetArtifactsCategory)
# used for post-build phases, internal builds only
- group: DotNet-AspNet-SDLValidation-Params
- ${{ if in(variables['Build.Reason'], 'PullRequest') }}: - ${{ if in(variables['Build.Reason'], 'PullRequest') }}:
- name: _BuildArgs - name: _BuildArgs
value: '' value: ''
@ -83,9 +86,6 @@ variables:
value: test value: test
- name: _PublishArgs - name: _PublishArgs
value: '' value: ''
# used for post-build phases, internal builds only
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
- group: DotNet-AspNet-SDLValidation-Params
stages: stages:
- stage: build - stage: build
@ -176,8 +176,7 @@ stages:
-noBuildDeps -noBuildDeps
$(_BuildArgs) $(_BuildArgs)
$(_InternalRuntimeDownloadArgs) $(_InternalRuntimeDownloadArgs)
# Disabled until 3.1.3 is released condition: ne(variables['Build.Reason'], 'PullRequest')
condition: false
displayName: Build SiteExtension displayName: Build SiteExtension
# 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, # 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:
- CodeSign_Xplat_Linux_musl_x64 - CodeSign_Xplat_Linux_musl_x64
- CodeSign_Xplat_Linux_musl_arm64 - CodeSign_Xplat_Linux_musl_arm64
# In addition to the dependencies above, ensure the build was successful overall. # In addition to the dependencies above, ensure the build was successful overall.
- Code_check
- Linux_Test - Linux_Test
- MacOS_Test - MacOS_Test
- Source_Build - Source_Build