Skip to content

Commit

Permalink
move to name over runner.os
Browse files Browse the repository at this point in the history
  • Loading branch information
d33bs committed Feb 4, 2025
1 parent b0c0e97 commit 01b8fe7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/actions/setup-env/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ runs:
path: |
.cache
pre-commit
key: cache|${{ runner.os }}|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }}
key: cache|${{ runner.name }}|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }}
- name: Cache venv
# The cache key for the virtual environment is a hash of the
# operating system, PY (see above), the pyproject.toml and
Expand All @@ -64,7 +64,7 @@ runs:
.cache
.venv
key:
cache|${{ runner.os }}|${{ env.PY }}|${{ hashFiles('pyproject.toml') }}|${{
cache|${{ runner.name }}|${{ env.PY }}|${{ hashFiles('pyproject.toml') }}|${{
hashFiles('poetry.lock') }}
- name: Setup poetry and poetry-dynamic-versioning
shell: bash
Expand Down

0 comments on commit 01b8fe7

Please sign in to comment.