Skip to content

Commit

Permalink
try POETRY_CACHE_DIR
Browse files Browse the repository at this point in the history
  • Loading branch information
geritwagner committed Jul 26, 2024
1 parent fc4982b commit 1f92ed7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
run: pipx install poetry
- name: Update setuptools
run: python -m pip install --upgrade pip setuptools
- name: Configure Poetry Cache Directory
run: poetry config cache-dir ${{ matrix.platform }}_${{ matrix.python-version }}/poetry_cache --local
- name: Set POETRY_CACHE_DIR
run: echo "POETRY_CACHE_DIR=${{ matrix.platform }}_${{ matrix.python-version }}/poetry_cache" >> $GITHUB_ENV
- name: Install poetry dependencies
run: |
poetry install -E dev --verbose
Expand Down Expand Up @@ -47,8 +47,8 @@ jobs:
run: |
pipx install poetry
poetry cache clear --all pypi
- name: Configure Poetry Cache Directory
run: poetry config cache-dir ${{ matrix.platform }}_${{ matrix.python-version }}/poetry_cache --local
- name: Set POETRY_CACHE_DIR
run: echo "POETRY_CACHE_DIR=${{ matrix.platform }}_${{ matrix.python-version }}/poetry_cache" >> $GITHUB_ENV
- name: Install poetry dependencies
run: |
poetry env remove python || true
Expand Down

0 comments on commit 1f92ed7

Please sign in to comment.