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

[release/6.0] Don't clear NuGet caches at all (#37122)

- backport of #36898

Don't clear NuGet caches at all (#36898)

  - `$use_global_nuget_cache` and `$useGlobalNuGetCache` have default values in our pipelines
  - therefore, cache is always within `$(System.DefaultWorkingDirectory)` and should not exist at job start
上级 f9964565
No related branches found
No related tags found
无相关合并请求
...@@ -175,14 +175,6 @@ jobs: ...@@ -175,14 +175,6 @@ jobs:
displayName: Install Node 14.x displayName: Install Node 14.x
inputs: inputs:
versionSpec: 14.x versionSpec: 14.x
- ${{ if eq(parameters.agentOs, 'Windows') }}:
- task: NuGetToolInstaller@1
- task: NuGetCommand@2
displayName: 'Clear NuGet caches'
condition: succeeded()
inputs:
command: custom
arguments: 'locals all -clear'
- ${{ if and(eq(parameters.installJdk, 'true'), eq(parameters.agentOs, 'Windows')) }}: - ${{ if and(eq(parameters.installJdk, 'true'), eq(parameters.agentOs, 'Windows')) }}:
- powershell: ./eng/scripts/InstallJdk.ps1 - powershell: ./eng/scripts/InstallJdk.ps1
displayName: Install JDK 11 displayName: Install JDK 11
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册