From b4be50b7de22b665aea484545b69e44fcba3c6d4 Mon Sep 17 00:00:00 2001 From: Christine Wang Date: Wed, 5 Feb 2025 17:02:12 -0800 Subject: [PATCH] add install uv step --- .github/workflows/release.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8819ac368..fb51a43eb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,7 +23,7 @@ jobs: matrix: os: [ ubuntu-latest, - ubuntu-24.04-arm, + ubuntu-24.04-arm, # https://github.com/actions/partner-runner-images/issues/37 macos-latest, ] python: [ @@ -42,10 +42,15 @@ jobs: fetch-depth: 0 ref: ${{ github.event.pull_request.head.ref || github.ref }} - - name: Setup environment - uses: ./.github/actions/setup-environment + - name: Install UV + uses: astral-sh/setup-uv@v5.2 + id: setup-uv with: + enable-cache: true + prune-cache: false python-version: 3.${{ matrix.python }} + version: '0.5.24' + cache-suffix: 3.${{ matrix.python }} - name: Fetch tags run: |