We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a63597 commit 63d2b45Copy full SHA for 63d2b45
.github/actions/restore-venv/action.yml
@@ -26,6 +26,11 @@ runs:
26
${{ inputs.venv-dir }}
27
${{ inputs.precommit-home }}
28
key: ${{ inputs.cache-key }}
29
+ - name: Ensure virtual environment after restore
30
+ if: ${{ steps.cache-create.outputs.cache-hit == 'true' }}
31
+ shell: bash
32
+ run: |
33
+ python -m venv --upgrade ${{ inputs.venv-dir }}
34
- name: Create Python virtual environment
35
if: ${{ steps.cache-create.outputs.cache-hit != 'true' }}
36
shell: bash
0 commit comments