@@ -23,7 +23,7 @@ The computed cache key is available as the `cache-key` output:
2323``` yaml
2424- name : Setup uv
2525 id : setup-uv
26- uses : astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1 .0
26+ uses : astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2 .0
2727 with :
2828 enable-cache : true
2929- name : Print cache key
@@ -50,7 +50,7 @@ You can optionally define a custom cache key suffix.
5050` ` ` yaml
5151- name : Enable caching and define a custom cache key suffix
5252 id : setup-uv
53- uses : astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1 .0
53+ uses : astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2 .0
5454 with :
5555 enable-cache : true
5656 cache-suffix : " optional-suffix"
@@ -89,15 +89,15 @@ changes. If you use relative paths, they are relative to the working directory.
8989
9090` ` ` yaml
9191- name: Define a cache dependency glob
92- uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1 .0
92+ uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2 .0
9393 with:
9494 enable-cache: true
9595 cache-dependency-glob: "**/pyproject.toml"
9696` ` `
9797
9898` ` ` yaml
9999- name: Define a list of cache dependency globs
100- uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1 .0
100+ uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2 .0
101101 with:
102102 enable-cache: true
103103 cache-dependency-glob: |
@@ -107,15 +107,15 @@ changes. If you use relative paths, they are relative to the working directory.
107107
108108` ` ` yaml
109109- name: Define an absolute cache dependency glob
110- uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1 .0
110+ uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2 .0
111111 with:
112112 enable-cache: true
113113 cache-dependency-glob: "/tmp/my-folder/requirements*.txt"
114114` ` `
115115
116116` ` ` yaml
117117- name: Never invalidate the cache
118- uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1 .0
118+ uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2 .0
119119 with:
120120 enable-cache: true
121121 cache-dependency-glob: ""
@@ -128,7 +128,7 @@ By default, the cache will be restored.
128128
129129` ` ` yaml
130130- name: Don't restore an existing cache
131- uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1 .0
131+ uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2 .0
132132 with:
133133 enable-cache: true
134134 restore-cache: false
@@ -142,7 +142,7 @@ By default, the cache will be saved.
142142
143143` ` ` yaml
144144- name: Don't save the cache after the run
145- uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1 .0
145+ uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2 .0
146146 with:
147147 enable-cache: true
148148 save-cache: false
@@ -168,7 +168,7 @@ It defaults to `setup-uv-cache` in the `TMP` dir, `D:\a\_temp\setup-uv-cache` on
168168
169169` ` ` yaml
170170- name: Define a custom uv cache path
171- uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1 .0
171+ uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2 .0
172172 with:
173173 cache-local-path: "/path/to/cache"
174174` ` `
@@ -187,7 +187,7 @@ input.
187187
188188` ` ` yaml
189189- name: Don't prune the cache before saving it
190- uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1 .0
190+ uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2 .0
191191 with:
192192 enable-cache: true
193193 prune-cache: false
@@ -205,7 +205,7 @@ To force managed Python installs, set `UV_PYTHON_PREFERENCE=only-managed`.
205205
206206` ` ` yaml
207207- name: Cache Python installs
208- uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1 .0
208+ uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2 .0
209209 with:
210210 enable-cache: true
211211 cache-python: true
@@ -223,7 +223,7 @@ If you want to ignore this, set the `ignore-nothing-to-cache` input to `true`.
223223
224224` ` ` yaml
225225- name: Ignore nothing to cache
226- uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1 .0
226+ uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2 .0
227227 with:
228228 enable-cache: true
229229 ignore-nothing-to-cache: true
0 commit comments