gpt4 book ai didi

azure-devops - 存在缓存未命中

转载 作者:行者123 更新时间:2023-12-05 06:01:53 27 4
gpt4 key购买 nike

我正在尝试在我的构建管道中缓存 cypress 安装。

我有这个任务设置:

- task: Cache@2
inputs:
key: 'cypress | $(Agent.OS) | package-lock.json'
path: 'C:\npm\prefix\node_modules\cypress'

我已经多次运行构建管道,但我总是遇到同样的错误:

There is a cache miss

enter image description here

这是之前的构建:

enter image description here

如您所见,这是相同的指纹,那么为什么缓存不起作用?

最佳答案

还有一件事 - 为了让缓存任务按预期工作,所有任务都必须成功

enter image description here

关于azure-devops - 存在缓存未命中,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/67091941/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com