Skip to content

Commit bc66b11

Browse files
authored
Add cache suffix for uv (#35)
1 parent 928b6a7 commit bc66b11

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/actions/setup-uv/action.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ inputs:
2121
save-cache:
2222
description: "Whether to save the cache after the run"
2323
default: ${{ github.ref == 'refs/heads/develop' }}
24+
cache-suffix:
25+
description: "Suffix for the cache key"
26+
required: false
2427

2528
runs:
2629
using: "composite"
@@ -32,6 +35,7 @@ runs:
3235
enable-cache: true
3336
prune-cache: ${{ inputs.prune-cache }}
3437
save-cache: ${{ inputs.save-cache }}
38+
cache-suffix: ${{ inputs.cache-suffix }}
3539
- name: "Setup up Python"
3640
shell: bash
3741
run: uv python install ${{ inputs.python-version }}

0 commit comments

Comments
 (0)