mirror of https://github.com/actions/toolkit
932ba2e7b2
With the new cache service v2, `restoreCacheV2` [^1] and `saveCacheV2` [^2] now explicitly use the Azure SDK for blob operations. The cacheHttpClient uses the Azure SDK to save the cache if the `useAzureSdk` option is set to true. [^3] However, it may not use the Azure SDK to download the cache even if the `useAzureSdk` option is set to true. If the signed URL does not end with "blob.core.windows.net," it will not use the Azure SDK to restore the cache. [^4] To ensure consistent behavior between saving and restoring the cache, the Azure SDK should be used to restore the cache if the `useAzureSdk` option is explicitly set to true. This PR ensures that the Azure SDK is used to restore the cache whenever the `useAzureSdk` option is set to true. [^1]: |
||
---|---|---|
.. | ||
artifact | ||
attest | ||
cache | ||
core | ||
exec | ||
github | ||
glob | ||
http-client | ||
io | ||
tool-cache |