From 96ae3cffd0493657b47761f4b851b7bfa24b591a Mon Sep 17 00:00:00 2001 From: Beau Gunderson Date: Thu, 23 Jan 2025 14:59:36 -0700 Subject: [PATCH] fix uv cache --- .github/actions/install-python-and-uv/action.yml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/.github/actions/install-python-and-uv/action.yml b/.github/actions/install-python-and-uv/action.yml index 0c41aab4..39e9c858 100644 --- a/.github/actions/install-python-and-uv/action.yml +++ b/.github/actions/install-python-and-uv/action.yml @@ -30,17 +30,8 @@ runs: echo "PYTHON_VERSION=${{ steps.python-setup.outputs.python-version }}" >> $GITHUB_ENV shell: bash - # Cache the installation of uv itself. - # This prevents the workflow from installing uv every time, which can be slow. - - name: Cache uv install - id: cache-uv - uses: actions/cache@v4 - with: - path: ~/.local - key: ${{runner.os}}-py${{steps.python-setup.outputs.python-version}}-uv-${{inputs.UV_VERSION}} - - name: Install uv - if: steps.cache-uv.outputs.cache-hit != 'true' uses: astral-sh/setup-uv@v5 with: + enable-cache: true version: ${{ inputs.UV_VERSION }}