mirror of
https://github.com/astral-sh/setup-uv.git
synced 2026-01-07 04:44:21 +01:00
This commit splits up the "normal" cache containing the dependencies and the "python" cache containing the python binaries. This will lead to a one-time invalidation of caches. Closes: #713
76 lines
1.2 KiB
YAML
76 lines
1.2 KiB
YAML
# See https://github.com/typesafegithub/github-actions-typing
|
|
|
|
inputs:
|
|
version:
|
|
type: string
|
|
version-file:
|
|
type: string
|
|
python-version:
|
|
type: string
|
|
activate-environment:
|
|
type: boolean
|
|
working-directory:
|
|
type: string
|
|
checksum:
|
|
type: string
|
|
github-token:
|
|
type: string
|
|
enable-cache:
|
|
type: enum
|
|
allowed-values:
|
|
- "true"
|
|
- "false"
|
|
- auto
|
|
cache-dependency-glob:
|
|
type: list
|
|
separator: "\n"
|
|
list-item:
|
|
type: string
|
|
restore-cache:
|
|
type: boolean
|
|
save-cache:
|
|
type: boolean
|
|
cache-suffix:
|
|
type: string
|
|
cache-local-path:
|
|
type: string
|
|
prune-cache:
|
|
type: boolean
|
|
cache-python:
|
|
type: boolean
|
|
ignore-nothing-to-cache:
|
|
type: boolean
|
|
ignore-empty-workdir:
|
|
type: boolean
|
|
tool-dir:
|
|
type: string
|
|
tool-bin-dir:
|
|
type: string
|
|
manifest-file:
|
|
type: string
|
|
add-problem-matchers:
|
|
type: boolean
|
|
resolution-strategy:
|
|
type: enum
|
|
allowed-values:
|
|
- highest
|
|
- lowest
|
|
|
|
outputs:
|
|
uv-version:
|
|
type: string
|
|
uv-path:
|
|
type: string
|
|
uvx-path:
|
|
type: string
|
|
cache-hit:
|
|
type: boolean
|
|
cache-key:
|
|
type: string
|
|
venv:
|
|
type: string
|
|
python-version:
|
|
type: string
|
|
python-cache-hit:
|
|
type: boolean
|