We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5c1e89 commit ee77543Copy full SHA for ee77543
azure-pipelines.yml
@@ -117,6 +117,19 @@ jobs:
117
env:
118
GITHUB_TOKEN: $(GITHUB_TOKEN)
119
120
+ - task: Cache@2
121
+ displayName: Cache NuGet packages
122
+ condition: >-
123
+ and(
124
+ succeeded(),
125
+ eq(variables['StartReleaseCandidate'], false),
126
+ not(startsWith(variables['Build.SourceBranch'], 'refs/tags/v'))
127
+ )
128
+ continueOnError: true
129
+ inputs:
130
+ key: 'nuget | **/packages.lock.json'
131
+ path: $(UserProfile)/.nuget/packages
132
+
133
- task: NuGetCommand@2
134
displayName: NuGet restore Test Adapter
135
retryCountOnTaskFailure: 2
0 commit comments