Fix CI, use helix secret only for official builds (dotnet/corefx#36390)
authorSantiago Fernandez Madero <safern@microsoft.com>
Wed, 27 Mar 2019 03:04:55 +0000 (20:04 -0700)
committerGitHub <noreply@github.com>
Wed, 27 Mar 2019 03:04:55 +0000 (20:04 -0700)
Commit migrated from https://github.com/dotnet/corefx/commit/477f208f350119a311eb6397b3ac8f19c7ed7a8c

eng/pipelines/libraries/corefx-base.yml

index 831176a0aa6cfbfcbd2e335749435299fd1d8bc5..7fb1473ad7cb499619922a4b58a5cbdbf7603980 100644 (file)
@@ -82,8 +82,9 @@ jobs:
           - group: DotNet-Blob-Feed
 
         - ${{ if eq(job.submitToHelix, 'true') }}:
-          - group: DotNet-HelixApi-Access
           - _archiveTestsParameter: /p:ArchiveTests=Tests
+          - ${{ if eq(parameters.isOfficialBuild, 'true') }}:
+            - group: DotNet-HelixApi-Access
 
         - _args: -restore -build -configuration $(_BuildConfig) -ci -buildtests -arch $(_architecture) -framework $(_framework) $(_archiveTestsParameter)
         - _commonArguments: $(_args)