Skip to content

Commit

Permalink
Simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
hynek committed Apr 11, 2024
1 parent 5ea8064 commit 140f05e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ runs:
run: curl -LsSf https://astral.sh/uv/install.sh | sh
shell: bash

- name: Find uv cache
- name: Find uv cache and hash lock file
run: |
echo "UV_CACHE=$(uv cache dir)" >>$GITHUB_ENV
DEPS="${{ github.action_path }}/requirements/tools.txt"
echo "REQS_HASH=$(sha256sum $DEPS | cut -d' ' -f1)" >>$GITHUB_ENV
echo "REQS_HASH=$(sha256sum ${{ github.action_path }}/requirements/tools.txt | cut -d' ' -f1)" >>$GITHUB_ENV
shell: bash

- name: Cache uv
Expand Down

0 comments on commit 140f05e

Please sign in to comment.