feat(cli): add click as explicit dependency (typer>=0.26 vendors it)
Keep uv and Python toolchain in a persistent host cache and bypass setup-* actions when present; persist uv download cache on the host.
This commit is contained in:
@@ -43,6 +43,11 @@ jobs:
|
||||
echo "python not found in toolcache"
|
||||
fi
|
||||
|
||||
- name: Persist uv download cache
|
||||
run: |
|
||||
mkdir -p /opt/hostedtoolcache/uv-cache
|
||||
echo "UV_CACHE_DIR=/opt/hostedtoolcache/uv-cache" >> "$GITHUB_ENV"
|
||||
|
||||
- name: Install uv
|
||||
if: steps.uv.outputs.found != 'true'
|
||||
uses: astral-sh/setup-uv@v3
|
||||
@@ -110,6 +115,11 @@ jobs:
|
||||
echo "python not found in toolcache"
|
||||
fi
|
||||
|
||||
- name: Persist uv download cache
|
||||
run: |
|
||||
mkdir -p /opt/hostedtoolcache/uv-cache
|
||||
echo "UV_CACHE_DIR=/opt/hostedtoolcache/uv-cache" >> "$GITHUB_ENV"
|
||||
|
||||
- name: Install uv
|
||||
if: steps.uv.outputs.found != 'true'
|
||||
uses: astral-sh/setup-uv@v3
|
||||
|
||||
Reference in New Issue
Block a user