I tried to use this actions/cache@v2
to cache poetry venv. There are only two libraries pylint
and pytest
installed. It seems that installation was cached (cache size ~ 26MB). However, they couldn't be retrieved after cache hit.
The cache installed libraries are not found while run
poetry run pip list
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
The YAML is here.
Could I know how to use actions/cache@v2
to cache poetry installation / virturalenv to avoid reinstalling dependencies.