未验证 提交 c3d935c3 编写于 作者: J Jose Perez Rodriguez 提交者: GitHub

Remove Push to NuGet feed since we won't be doing that any more (#474)

上级 4c32a9d7
......@@ -235,38 +235,3 @@ jobs:
pool:
name: NetCoreInternal-Int-Pool
queue: buildpool.windows.10.amd64.vs2017
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
- template: /eng/common/templates/job/job.yml
parameters:
dependsOn:
- BuildPackages
agentOs: Windows_NT
name: PublishToMyGet
displayName: Publish To MyGet
continueOnError: true
enableTelemetry: $(_enableTelemetry)
helixRepo: dotnet/iot
strategy:
matrix:
release_configuration:
_BuildConfig: Release
variables:
- group: DotNet-MyGet-Publish
pool:
${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
name: NetCoreInternal-Int-Pool
queue: buildpool.windows.10.amd64.vs2017
${{ if or(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest')) }}:
name: Hosted VS2017
steps:
- task: DownloadBuildArtifacts@0
displayName: Download Built Packages
inputs:
artifactName: BuiltPackageOutputs
downloadPath: $(Build.SourcesDirectory)/artifacts/packages/pushToMyGet
- script: powershell -ExecutionPolicy ByPass -NoProfile -command "& """$(Build.SourcesDirectory)\eng\common\Build.ps1""" -restore" &&
for /f %%x in ('dir /s /b $(Build.SourcesDirectory)\artifacts\packages\pushToMyGet\*.nupkg') do dotnet nuget push %%x -k $(dotnet-myget-org-api-key) -s https://dotnet.myget.org/F/dotnet-core/
name: PublishPackages
displayName: Publishing Packages to MyGet
condition: succeeded()
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册