Skip to content

Commit

Permalink
FIX: always set PIP_CACHE_DIR
Browse files Browse the repository at this point in the history
  • Loading branch information
redeboer committed Jan 27, 2023
1 parent b758a6d commit 13fef1e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pip-install/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ runs:
- uses: actions/setup-python@v4
with:
python-version: ${{ inputs.python-version }}
- if: runner.os == 'Linux'
run: echo "PIP_CACHE_DIR=~/.cache/pip/" >> $GITHUB_ENV
- run: echo "PIP_CACHE_DIR=~/.cache/pip/" >> $GITHUB_ENV
shell: bash
- if: runner.os == 'macOS'
run: echo "PIP_CACHE_DIR=~/Library/Caches/pip" >> $GITHUB_ENV
Expand Down

0 comments on commit 13fef1e

Please sign in to comment.