Caching Salesforce CLI & SFDX Git Delta #743
Closed
jonny-harte
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Here's how I was able to cache the Salesforce CLI & SFDX Git Delta. There's two steps to the process.
Save Cache - A manual workflow run to build the cache. This is performed on the main branch so all PR's can use the the same cache. To update simply delete the cache and re-run the flow.
Restore the cache before running sf cli commands.
Before implementing this it was taking 50+ seconds to install the cli and plugin per workflow run. That has been reduced down to 5-7 seconds.
Beta Was this translation helpful? Give feedback.
All reactions