mirror of
https://github.com/astral-sh/setup-uv.git
synced 2026-09-20 12:18:48 +00:00
Disable automatic cache saves for merge queues (#1056)
Amp-Thread-ID: https://ampcode.com/threads/T-01a0af68-f950-77dc-b9ae-9402987584c8 Closes: #1052 Co-authored-by: Amp <amp@ampcode.com>
This commit is contained in:
committed by
GitHub
parent
3377a30666
commit
a761a4e9af
+4
-2
@@ -139,9 +139,11 @@ By default, the cache will be restored.
|
||||
|
||||
## Save cache
|
||||
|
||||
You can also disable saving the cache after the run with the `save-cache` input.
|
||||
You can control saving the cache after the run with the `save-cache` input.
|
||||
This can be useful to save cache storage when you know you will not use the cache of the run again.
|
||||
By default, the cache will be saved.
|
||||
By default, `save-cache: auto` saves the cache except for `merge_group` events, where caches created
|
||||
for temporary merge queue refs are unlikely to be reused. Cache restoration remains enabled for
|
||||
these events. Set `save-cache: true` to save the cache for all events.
|
||||
|
||||
```yaml
|
||||
- name: Don't save the cache after the run
|
||||
|
||||
Reference in New Issue
Block a user