Sourced from astral-sh/setup-uv's releases.
v4.0.0 🌈 Fail when cache local path does not exist when trying to cache
🚨 Breaking change 🚨
By default, the action will now fail if caching is enabled but there is nothing to upload (the uv cache directory does not exist). If you want to ignore this, set the
ignore-nothing-to-cache
input totrue
.- name: Ignore nothing to cache uses: astral-sh/setup-uv@v3 with: enable-cache: true ignore-nothing-to-cache: true
In previous releases only an error got logged when saving the cache failed. In most cases users did not realize something was wrong with their config.
Changes
🚨 Breaking changes
- Fail when cache local path does not exist when trying to cache
@eifinger
(#163)🐛 Bug fixes
- Fail when cache local path does not exist when trying to cache
@eifinger
(#163)- Remove working dir from cacheDependencyGlob error message
@eifinger
(#162)📚 Documentation
- Change some formulations in README.md
@eifinger
(#164)- Add comment to clarify process.exit(0)
@eifinger
(#161)v3.2.4 🌈 Expand
~
tilde in input pathsThis release adds support for expanding the
~
character to the user's home directory for the following inputs:
cache-local-path
tool-dir
tool-bin-dir
cache-dependency-glob
- name: Expand the tilde character uses: astral-sh/setup-uv@v3 with: cache-local-path: "~/path/to/cache" </tr></table>
... (truncated)
38f3f10
Resolve latest version instead of downloading latest release (#178)8bdd012
Add test for python-version (#177)5f42d5a
Replace v3 with v4 in README.md (#176)26ddfef
Add matrix example for python-version (#175)ee4fa33
Add input python-version (#174)4209155
Reduce test matrices (#173)9839fa9
chore: update known checksums for 0.5.5 (#170)196fe5f
Speed up updating known checksums (#166)49d8a3d
Clarify caching will only fail when enabled and nothing to cache (#165)d8db0a8
Change some formulations in README.md (#164)