From 214782eaffe0fd59a9d0df03f6ffd88831b686e3 Mon Sep 17 00:00:00 2001 From: The0Mikkel Date: Sat, 21 Mar 2026 21:12:01 +0100 Subject: [PATCH 1/3] feat(release): add optional uv installation --- .github/workflows/release.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 743bfd6..023878f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,6 +20,11 @@ on: description: "The environment to deploy to." required: false type: string + INSTALL_UV: + description: "Whether to install uv in pipeline. Allows to run uv commands in release workflow. Defaults to false." + required: false + type: boolean + default: false secrets: RELEASE_GH_TOKEN: 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: echo "::error title=Develop branch out of date::Develop branch is not up to date with main. Please update develop before releasing." exit 1 + - name: Install uv + if: inputs.INSTALL_UV == 'true' + uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7.6.0 + with: + enable-cache: true + - name: Setup Node.js uses: actions/setup-node@v6 with: From e21b3787c970f7ff78af0f964dfd3643cde47575 Mon Sep 17 00:00:00 2001 From: The0Mikkel Date: Sat, 21 Mar 2026 21:22:53 +0100 Subject: [PATCH 2/3] fix(release): update condition for installing uv --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 023878f..b2b7a47 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -81,7 +81,7 @@ jobs: exit 1 - name: Install uv - if: inputs.INSTALL_UV == 'true' + if: inputs.INSTALL_UV uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7.6.0 with: enable-cache: true From b9f1ed880049b74ae31afffa9f39dea5363a5c0d Mon Sep 17 00:00:00 2001 From: The0Mikkel Date: Sat, 21 Mar 2026 21:23:48 +0100 Subject: [PATCH 3/3] chore(release): improve description for INSTALL_UV input in workflow --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b2b7a47..c2fd9c3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,7 +21,7 @@ on: required: false type: string INSTALL_UV: - description: "Whether to install uv in pipeline. Allows to run uv commands in release workflow. Defaults to false." + description: "Whether to install uv in this workflow so later release workflow can run uv commands. Defaults to false." required: false type: boolean default: false