mirror of
https://github.com/astral-sh/setup-uv.git
synced 2026-06-28 10:45:08 +00:00
Add a new boolean input (default: true) that controls whether uv is downloaded from the Astral mirror or directly from GitHub Releases. When set to false, the mirror rewrite is skipped entirely.
81 lines
1.4 KiB
YAML
81 lines
1.4 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
|
|
venv-path:
|
|
type: string
|
|
no-project:
|
|
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
|
|
download-from-astral-mirror:
|
|
type: boolean
|
|
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
|