Skip to content

Commit 214782e

Browse files
committed
feat(release): add optional uv installation
1 parent 55b45e5 commit 214782e

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ on:
2020
description: "The environment to deploy to."
2121
required: false
2222
type: string
23+
INSTALL_UV:
24+
description: "Whether to install uv in pipeline. Allows to run uv commands in release workflow. Defaults to false."
25+
required: false
26+
type: boolean
27+
default: false
2328
secrets:
2429
RELEASE_GH_TOKEN:
2530
description: "GitHub Token. Used to authenticate with GitHub at release step. This will overwrite the use of the default GitHub token."
@@ -75,6 +80,12 @@ jobs:
7580
echo "::error title=Develop branch out of date::Develop branch is not up to date with main. Please update develop before releasing."
7681
exit 1
7782
83+
- name: Install uv
84+
if: inputs.INSTALL_UV == 'true'
85+
uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7.6.0
86+
with:
87+
enable-cache: true
88+
7889
- name: Setup Node.js
7990
uses: actions/setup-node@v6
8091
with:

0 commit comments

Comments
 (0)