tzapu / WiFiManager

ESP8266 WiFi Connection manager with web captive portal
http://tzapu.com/esp8266-wifi-connection-manager-library-arduino-ide/
MIT License
6.63k stars 1.98k forks source link

Enhance cache strategy with board-specific cache keys #1777

Open anilrajrimal1 opened 2 weeks ago

anilrajrimal1 commented 2 weeks ago

Summary:

This PR refines the caching strategy used in the Compile Library GitHub Actions workflow by making cache keys board-specific. Previously, caches for pip and PlatformIO were shared across all board configurations, which could lead to cache conflicts or inefficiencies. Now, each board (e.g., nodemcuv2, lolin32) has its own unique cache, improving cache hits and reducing build times.

Changes:

Motivation:

This change improves the efficiency of the CI/CD pipeline by ensuring that the cache is appropriately scoped for each board, optimizing build times for different configurations.