Skip to content

Commit 6545565

Browse files
authored
fix: Update branch filter and cache key for UV build workflow
fix: Update branch filter and cache key for UV build workflow
2 parents 2f060c6 + 52a1297 commit 6545565

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/cache-uv-build.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Build uv cache
33
on:
44
push:
55
branches:
6-
- main
6+
- '**'
77
paths:
88
- 'uv.lock'
99
- 'pyproject.toml'
@@ -40,4 +40,4 @@ jobs:
4040
~/.cache/uv
4141
~/.local/share/uv
4242
.venv
43-
key: uv-main-${{ env.UV_VERSION }}-${{ env.PYTHON_VERSION }}-${{ hashFiles('pyproject.toml', 'uv.lock') }}
43+
key: uv-${{ github.ref_name }}-${{ env.UV_VERSION }}-${{ env.PYTHON_VERSION }}-${{ hashFiles('pyproject.toml', 'uv.lock') }}

0 commit comments

Comments
 (0)