Skip to content

Commit

Permalink
Add uv cache busting
Browse files Browse the repository at this point in the history
  • Loading branch information
hynek committed Apr 11, 2024
1 parent fb2942d commit 13609eb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,16 @@ runs:
shell: bash

- name: Find uv cache
run: echo "UV_CACHE=$(uv cache dir)" >>$GITHUB_ENV
run: |
echo "UV_CACHE=$(uv cache dir)" >>$GITHUB_ENV
echo "DEPS=${{ github.action_path }}/requirements/tools.txt" >>$GITHUB_ENV
shell: bash

- name: Cache uv
uses: actions/cache@v4
with:
path: ${{ env.UV_CACHE }}
key: ${{ runner.os }}-uv
key: baipp-${{ runner.os }}-${{ hashFiles(env.DEPS) }}

- name: Create venv for tools
run: >
Expand Down

0 comments on commit 13609eb

Please sign in to comment.