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 eecc564 commit 5f278d7Copy full SHA for 5f278d7
azure-pipelines.yml
@@ -38,15 +38,13 @@ stages:
38
condition: ${{ parameters.cache_nuget }}
39
displayName: Cache NuGet packages
40
inputs:
41
- key: 'nuget | "$(Agent.OS)" | **/packages.lock.json'
+ key: 'nuget | "$(Agent.OS)" | **/packages.lock.json, !**/bin/**, !**/obj/**'
42
restoreKeys: |
43
nuget | "$(Agent.OS)"
44
nuget
45
path: $(NUGET_PACKAGES)
46
- cacheHitVar: 'CACHE_NUGET_RESTORED'
47
48
- script: dotnet restore $(solution) --locked-mode
49
- condition: or(not(${{ parameters.cache_nuget }}), ne(variables.CACHE_NUGET_RESTORED, 'true'))
50
displayName: Restore NuGet packages
51
52
# Build
0 commit comments