mirror of
https://github.com/astral-sh/setup-uv.git
synced 2025-05-17 14:44:46 +00:00
Initial commit
This commit is contained in:
commit
18498fc78f
61 changed files with 261875 additions and 0 deletions
38
action.yml
Normal file
38
action.yml
Normal file
|
@ -0,0 +1,38 @@
|
|||
name: 'Python setup uv'
|
||||
description: 'Set up your GitHub Actions workflow with a specific version of uv'
|
||||
author: 'eifinger'
|
||||
inputs:
|
||||
version:
|
||||
description: 'The version of uv to install'
|
||||
default: '0.3.2'
|
||||
checksum:
|
||||
description: 'The checksum of the uv version to install'
|
||||
required: false
|
||||
github-token:
|
||||
description: 'Used to increase the rate limit when retrieving versions and downloading uv.'
|
||||
required: false
|
||||
enable-cache:
|
||||
description: 'Enable caching of the uv cache'
|
||||
default: 'false'
|
||||
cache-dependency-glob:
|
||||
description: 'Glob pattern to match files relative to the repository root to control the cache. e.g. "uv.lock"'
|
||||
required: false
|
||||
cache-suffix:
|
||||
description: 'Suffix for the cache key'
|
||||
required: false
|
||||
cache-local-path:
|
||||
description: 'Local path to store the cache.'
|
||||
default: '/tmp/setup-uv-cache'
|
||||
outputs:
|
||||
uv-version:
|
||||
description: "The installed uv version. Useful when using latest."
|
||||
cache-hit:
|
||||
description: "A boolean value to indicate a cache entry was found"
|
||||
runs:
|
||||
using: 'node20'
|
||||
main: 'dist/setup/index.js'
|
||||
post: 'dist/save-cache/index.js'
|
||||
post-if: success()
|
||||
branding:
|
||||
icon: 'package'
|
||||
color: 'blue'
|
Loading…
Add table
Add a link
Reference in a new issue