mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 04:07:08 +00:00
Simplify cache restore (#25186)
* Simplify cache restore * Missed the task version * RestoreAndSaveCache1@1 > RestoreAndSaveCache@1 * Revert changes on cache saving & add comment * Trim whitespaces
This commit is contained in:
parent
971223de19
commit
bc4f91a89a
@ -99,6 +99,8 @@ stages:
|
|||||||
pip install pytest-azurepipelines -c homeassistant/package_constraints.txt
|
pip install pytest-azurepipelines -c homeassistant/package_constraints.txt
|
||||||
displayName: 'Create Virtual Environment & Install Requirements'
|
displayName: 'Create Virtual Environment & Install Requirements'
|
||||||
condition: and(succeeded(), ne(variables['CacheRestored'], 'true'))
|
condition: and(succeeded(), ne(variables['CacheRestored'], 'true'))
|
||||||
|
# Explicit Cache Save (instead of using RestoreAndSaveCache)
|
||||||
|
# Dont wait with cache save for all the other task in this job to complete (±30 minutes), other parallel jobs might utilize this
|
||||||
- task: 1ESLighthouseEng.PipelineArtifactCaching.SaveCacheV1.SaveCache@1
|
- task: 1ESLighthouseEng.PipelineArtifactCaching.SaveCacheV1.SaveCache@1
|
||||||
displayName: 'Save artifacts based on Requirements'
|
displayName: 'Save artifacts based on Requirements'
|
||||||
inputs:
|
inputs:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user