Skip to content

Commit

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

0 comments on commit 2ee412f

Please sign in to comment.