@@ -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@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
26+ uses : astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
2727 with :
2828 enable-cache : true
2929- name : Print cache key
@@ -53,7 +53,7 @@ You can optionally define a custom cache key suffix.
5353` ` ` yaml
5454- name: Enable caching and define a custom cache key suffix
5555 id: setup-uv
56- uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
56+ uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
5757 with:
5858 enable-cache: true
5959 cache-suffix: "optional-suffix"
@@ -92,15 +92,15 @@ changes. If you use relative paths, they are relative to the working directory.
9292
9393` ` ` yaml
9494- name: Define a cache dependency glob
95- uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
95+ uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
9696 with:
9797 enable-cache: true
9898 cache-dependency-glob: "**/pyproject.toml"
9999` ` `
100100
101101` ` ` yaml
102102- name: Define a list of cache dependency globs
103- uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
103+ uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
104104 with:
105105 enable-cache: true
106106 cache-dependency-glob: |
@@ -110,15 +110,15 @@ changes. If you use relative paths, they are relative to the working directory.
110110
111111` ` ` yaml
112112- name: Define an absolute cache dependency glob
113- uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
113+ uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
114114 with:
115115 enable-cache: true
116116 cache-dependency-glob: "/tmp/my-folder/requirements*.txt"
117117` ` `
118118
119119` ` ` yaml
120120- name: Never invalidate the cache
121- uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
121+ uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
122122 with:
123123 enable-cache: true
124124 cache-dependency-glob: ""
@@ -131,7 +131,7 @@ By default, the cache will be restored.
131131
132132` ` ` yaml
133133- name: Don't restore an existing cache
134- uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
134+ uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
135135 with:
136136 enable-cache: true
137137 restore-cache: false
@@ -145,7 +145,7 @@ By default, the cache will be saved.
145145
146146` ` ` yaml
147147- name: Don't save the cache after the run
148- uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
148+ uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
149149 with:
150150 enable-cache: true
151151 save-cache: false
@@ -171,7 +171,7 @@ It defaults to `setup-uv-cache` in the `TMP` dir, `D:\a\_temp\setup-uv-cache` on
171171
172172` ` ` yaml
173173- name: Define a custom uv cache path
174- uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
174+ uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
175175 with:
176176 cache-local-path: "/path/to/cache"
177177` ` `
@@ -188,7 +188,7 @@ If you want to prune the cache before saving it, enable cache pruning with the `
188188
189189` ` ` yaml
190190- name: Prune the cache before saving it
191- uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
191+ uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
192192 with:
193193 enable-cache: true
194194 prune-cache: true
@@ -207,7 +207,7 @@ To force managed Python installs, set `UV_PYTHON_PREFERENCE=only-managed`.
207207
208208` ` ` yaml
209209- name: Cache Python installs
210- uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
210+ uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
211211 with:
212212 enable-cache: true
213213 cache-python: true
@@ -225,7 +225,7 @@ If you want to ignore this, set the `ignore-nothing-to-cache` input to `true`.
225225
226226` ` ` yaml
227227- name: Ignore nothing to cache
228- uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
228+ uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
229229 with:
230230 enable-cache: true
231231 ignore-nothing-to-cache: true
0 commit comments