Skip to content

Commit 5019088

Browse files
authored
[3.1] Remove Code_check job from publish-build-assets.yml dependsOn (#20558)
- nit: remove redundant conditions for easier reading
1 parent 27aa26e commit 5019088

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.azure/pipelines/ci.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ variables:
5151
# to have it in two different forms
5252
- name: _InternalRuntimeDownloadCodeSignArgs
5353
value: /p:DotNetRuntimeSourceFeed=https://dotnetclimsrc.blob.core.windows.net/dotnet /p:DotNetRuntimeSourceFeedKey=$(dotnetclimsrc-read-sas-token-base64)
54-
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
5554
- ${{ if notin(variables['Build.Reason'], 'PullRequest') }}:
5655
# DotNet-Blob-Feed provides: dotnetfeed-storage-access-key-1
5756
# Publish-Build-Assets provides: MaestroAccessToken, BotAccount-dotnet-maestro-bot-PAT
@@ -73,16 +72,16 @@ variables:
7372
/p:DotNetPublishToBlobFeed=$(_DotNetPublishToBlobFeed)
7473
/p:DotNetPublishUsingPipelines=$(_PublishUsingPipelines)
7574
/p:DotNetArtifactsCategory=$(_DotNetArtifactsCategory)
75+
76+
# used for post-build phases, internal builds only
77+
- group: DotNet-AspNet-SDLValidation-Params
7678
- ${{ if in(variables['Build.Reason'], 'PullRequest') }}:
7779
- name: _BuildArgs
7880
value: ''
7981
- name: _SignType
8082
value: test
8183
- name: _PublishArgs
8284
value: ''
83-
# used for post-build phases, internal builds only
84-
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
85-
- group: DotNet-AspNet-SDLValidation-Params
8685

8786
stages:
8887
- stage: build
@@ -699,7 +698,6 @@ stages:
699698
- CodeSign_Xplat_Linux_musl_x64
700699
- CodeSign_Xplat_Linux_musl_arm64
701700
# In addition to the dependencies above, ensure the build was successful overall.
702-
- Code_check
703701
- Linux_Test
704702
- MacOS_Test
705703
- Source_Build

0 commit comments

Comments
 (0)