Don't reuse venv cache when Python version changes (#1837)

This commit is contained in:
Franck Nijhof 2020-07-15 15:03:53 +02:00 committed by GitHub
parent a935bac20b
commit c4a011b261
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,7 +39,6 @@ jobs:
restore-keys: |
${{ runner.os }}-venv-${{ steps.python.outputs.python-version }}-${{ hashFiles('requirements.txt') }}
${{ runner.os }}-venv-${{ steps.python.outputs.python-version }}-
${{ runner.os }}-venv-
- name: Create Python virtual environment
if: steps.cache-venv.outputs.cache-hit != 'true'
run: |