Add timeoutInMinutes: 10 to Vcpkg Cache (#1792)
* Add timeoutInMinutes: 10 to Vcpkg Cache * Add comment about Vcpkg Cache timeout
This commit is contained in:
parent
41a3b4c429
commit
272c229071
@ -24,6 +24,9 @@ steps:
|
||||
not(eq(variables['${{ parameters.DependenciesVariableName }}'], ''))
|
||||
)
|
||||
|
||||
# This task times out after 10 minutes. An analysis of a subset of Vcpkg Cache
|
||||
# runs showed that after 10 minutes the cache step is very unlikely to
|
||||
# succeed.
|
||||
- task: Cache@2
|
||||
inputs:
|
||||
key: >-
|
||||
@ -34,6 +37,7 @@ steps:
|
||||
path: $(VCPKG_INSTALLATION_ROOT)
|
||||
cacheHitVar: VcpkgRestoredFromCache
|
||||
displayName: Vcpkg Cache
|
||||
timeoutInMinutes: 10
|
||||
condition: >-
|
||||
and(
|
||||
succeeded(),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user