Skip to content

Commit

Permalink
Enable fast publishing (#43788)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmitche authored Sep 7, 2022
1 parent ca2238e commit e40c0fd
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .azure/pipelines/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 41,8 @@ variables:
value: true
- name: _TeamName
value: AspNetCore
- name: _DotNetPublishToBlobFeed
value: true
- name: _PublishUsingPipelines
value: true
- name: _DotNetArtifactsCategory
value: .NETCORE
- name: _DotNetValidationArtifactsCategory
value: .NETCORE
- name: PostBuildSign
value: true
- name: _UseHelixOpenQueues
Expand All @@ -67,11 61,7 @@ variables:
- name: _PublishArgs
value: /p:Publish=true
/p:GenerateChecksums=true
/p:DotNetPublishBlobFeedKey=$(dotnetfeed-storage-access-key-1)
/p:DotNetPublishBlobFeedUrl=https://dotnetfeed.blob.core.windows.net/dotnet-core/index.json
/p:DotNetPublishToBlobFeed=$(_DotNetPublishToBlobFeed)
/p:DotNetPublishUsingPipelines=$(_PublishUsingPipelines)
/p:DotNetArtifactsCategory=$(_DotNetArtifactsCategory)
# Variables for source indexing afterBuild step and job.
- name: sourceIndexPackageVersion
value: 1.0.1-20210614.1
Expand Down Expand Up @@ -782,6 772,7 @@ stages:
demands: ImageOverride -equals Build.Server.Amd64.VS2019
publishUsingPipelines: ${{ variables._PublishUsingPipelines }}
enablePublishBuildArtifacts: true # publish artifacts/log files
publishAssetsImmediately: true # Don't use a separate stage for darc publishing.
- ${{ if and(ne(variables['System.TeamProject'], 'public'), or(eq(parameters.testSourceIndexing, 'true'), eq(variables['Build.SourceBranch'], 'refs/heads/main'))) }}:
- job: SourceIndexUpload
displayName: Upload indexable solution
Expand Down Expand Up @@ -852,3 843,4 @@ stages:
enableSigningValidation: false
enableNugetValidation: false
publishInstallersAndChecksums: true
publishAssetsImmediately: true

0 comments on commit e40c0fd

Please sign in to comment.