mirror of
https://github.com/gradle/actions.git
synced 2026-06-14 07:30:41 +00:00
d885df93e3
Supplies develocityAccessToken / develocityServerUrl to the gated project-entry caching feature, on the save path only. Restore stays ungated, so it keeps passing no DevelocityConfig and the credentials remain undefined. - cacheOptionsFrom gains an optional develocityConfig; when present it sets develocityServerUrl from getDevelocityUrl() and resolves develocityAccessToken via resolveAccessKeyForServer (fail-closed when the URL or matching key is absent). - complete() takes a DevelocityConfig and passes it through to cacheOptionsFrom at the save call; setup()/restore continues to call cacheOptionsFrom with no DevelocityConfig. - Both post actions (setup-gradle, dependency-submission) pass new DevelocityConfig() to complete(). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>