Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
epwalsh committed Jul 17, 2023
1 parent a0de968 commit 91c8e96
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/actions/setup-venv/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,17 @@ runs:
run: |
# Set up virtual environment without cache hit.
test -d .venv || virtualenv -p $(which python) --copies --reset-app-data .venv
pip install '${{ inputs.packages }}' -e .[dev]
- if: steps.virtualenv-cache.outputs.cache-hit != 'true' && inputs.packages == ''
shell: bash
run: |
. .venv/bin/activate
pip install -e .[dev]
- if: steps.virtualenv-cache.outputs.cache-hit != 'true' && inputs.packages != ''
shell: bash
run: |
. .venv/bin/activate
pip install '${{ inputs.packages }}' -e .[dev]
Expand Down

0 comments on commit 91c8e96

Please sign in to comment.