Skip to content

Commit f696587

Browse files
Allow disabling caching of NuGet packages during build
1 parent 9554d15 commit f696587

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

azure-pipelines.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
parameters:
2+
- name: cache_nuget
3+
displayName: Cache NuGet packages
4+
type: boolean
5+
default: true
6+
17
variables:
28
solution: Umbraco.Cloud.StorageProviders.AzureBlob.sln
39
buildConfiguration: Release
@@ -14,6 +20,7 @@ stages:
1420
vmImage: windows-latest
1521
steps:
1622
- task: Cache@2
23+
condition: ${{parameters.cache_nuget}}
1724
inputs:
1825
key: 'nuget | "$(Agent.OS)" | **/packages.lock.json'
1926
restoreKeys: |

0 commit comments

Comments
 (0)