Skip to content

Commit

Permalink
Set pythonLocation environment variable for cache key
Browse files Browse the repository at this point in the history
  • Loading branch information
zeevro committed Nov 27, 2024
1 parent 9a8475b commit 4ee0d85
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ runs:
with:
enable-cache: true
cache-dependency-glob: '.pre-commit-config.yaml'
- run: uv run --isolated --no-sync true && echo "pythonLocation=$(uv python find)" >>$GITHUB_ENV
shell: bash
- uses: actions/cache@v4
with:
path: ~/.cache/pre-commit
Expand Down

0 comments on commit 4ee0d85

Please sign in to comment.