Compare commits

..

No commits in common. "dac7f7aea0e9210f9b764f1e779e58e9dac5b338" and "9f172ed7df57ab18904b25d0f3336fc26489f8ca" have entirely different histories.

2 changed files with 0 additions and 11 deletions

View file

@ -1,6 +0,0 @@
# uv-cache
This is a very simple action that sets up cache support for `uv`. It doesn't do
anything else. It's assumed that `uv`, as well as all the dependencies for
`actions/cache@v4` are available in the container. I wrote this to work well
with [based-alpine](https://git.ficd.sh/ficd/based-alpine).

View file

@ -1,10 +1,6 @@
name: Setup uv cache
description: Composite action to determine uv cache dir and restore cache.
author: Daniel Fichtinger
outputs:
uv-cache-hit:
description: "Whether the uv cache was restored"
value: ${{ steps.cache-restore.outputs.cache-hit }}
runs:
using: "composite"
steps:
@ -14,7 +10,6 @@ runs:
run: |
echo "dir=$(uv cache dir)" >> "$GITHUB_OUTPUT"
- name: Restore uv cache
id: cache-restore
uses: actions/cache@v4
with:
path: ${{ steps.uv-cache.outputs.dir }}