mirror of
https://github.com/actions/setup-python.git
synced 2025-04-21 22:38:43 +00:00
Update restore dependency test
This commit is contained in:
parent
a0c296a502
commit
bce0bb9af2
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ virtualenvs.path = "{cache-dir}/virtualenvs" # /Users/patrick/Library/Caches/py
|
|||
|
||||
await cacheDistributor.restoreCache();
|
||||
|
||||
if (process.platform === 'linux') {
|
||||
if (process.platform === 'linux' && packageManager === 'pip') {
|
||||
expect(infoSpy).toHaveBeenCalledWith(
|
||||
`Cache restored from key: setup-python-${process.env['RUNNER_OS']}-Ubuntu-20.4-python-${pythonVersion}-${packageManager}-${fileHash}`
|
||||
);
|
||||
|
|
Loading…
Add table
Reference in a new issue