Skip to content

Commit 90369ff

Browse files
authored
🐛 fix(action): skip uv install when already present (#23)
1 parent c10240f commit 90369ff

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

action.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,12 @@ inputs:
88
runs:
99
using: composite
1010
steps:
11+
- name: Check if uv is already installed
12+
id: check-uv
13+
run: command -v uv && echo "installed=true" >> "$GITHUB_OUTPUT" || echo "installed=false" >> "$GITHUB_OUTPUT"
14+
shell: bash
1115
- name: Install the latest version of uv
16+
if: steps.check-uv.outputs.installed != 'true'
1217
uses: astral-sh/setup-uv@v7
1318
with:
1419
enable-cache: true

0 commit comments

Comments
 (0)