【发布时间】:2020-11-08 16:01:35
【问题描述】:
我试图用这个actions/cache@v2 来缓存诗歌venv。只安装了两个库pylint 和pytest。似乎安装已缓存(缓存大小 ~ 26MB)。但是,缓存命中后无法检索它们。
运行时找不到缓存安装的库
诗歌运行点子列表
Package Version
---------- -------
pip 20.1.1
setuptools 41.2.0
https://github.com/northtree/poetry-github-actions/runs/875926237?check_suite_focus=true#step:9:1
YAML 是 here。
我可以知道如何使用actions/cache@v2 来缓存诗歌安装/virturalenv 以避免重新安装依赖项。
【问题讨论】:
标签: continuous-integration github-actions python-poetry