Skip to content
代码片段 群组 项目
未验证 提交 50190886 编辑于 作者: Doug Bunting's avatar Doug Bunting 提交者: GitHub
浏览文件

[3.1] Remove Code_check job from publish-build-assets.yml `dependsOn` (#20558)

- nit: remove redundant conditions for easier reading
上级 27aa26ef
No related branches found
No related tags found
无相关合并请求
...@@ -51,7 +51,6 @@ variables: ...@@ -51,7 +51,6 @@ variables:
# to have it in two different forms # to have it in two different forms
- name: _InternalRuntimeDownloadCodeSignArgs - name: _InternalRuntimeDownloadCodeSignArgs
value: /p:DotNetRuntimeSourceFeed=https://dotnetclimsrc.blob.core.windows.net/dotnet /p:DotNetRuntimeSourceFeedKey=$(dotnetclimsrc-read-sas-token-base64) value: /p:DotNetRuntimeSourceFeed=https://dotnetclimsrc.blob.core.windows.net/dotnet /p:DotNetRuntimeSourceFeedKey=$(dotnetclimsrc-read-sas-token-base64)
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
- ${{ if notin(variables['Build.Reason'], 'PullRequest') }}: - ${{ if notin(variables['Build.Reason'], 'PullRequest') }}:
# DotNet-Blob-Feed provides: dotnetfeed-storage-access-key-1 # DotNet-Blob-Feed provides: dotnetfeed-storage-access-key-1
# Publish-Build-Assets provides: MaestroAccessToken, BotAccount-dotnet-maestro-bot-PAT # Publish-Build-Assets provides: MaestroAccessToken, BotAccount-dotnet-maestro-bot-PAT
...@@ -73,6 +72,9 @@ variables: ...@@ -73,6 +72,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: ''
...@@ -80,9 +82,6 @@ variables: ...@@ -80,9 +82,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
...@@ -699,7 +698,6 @@ stages: ...@@ -699,7 +698,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
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册