Skip to content

Commit cc7ad22

Browse files
No reuse of homebrew cache with old versions (#454)
Avoid reusing homebrew cache with old major versions. The cleanup would require explicit uninstall which isn't easily doable. And without cleanup the cache ends up contain both old and new versions and increases in size indefinitely on every major version update. Avoid this problem by creating fresh cache whenever any tool changes.
1 parent 550c19e commit cc7ad22

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

  • .github/actions/homebrew-packages-setup

.github/actions/homebrew-packages-setup/init.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ echo "::group::Outputs from init"
6565
echo "cache-key-for-restore=${cacheKeyForRestore}"
6666
echo "cache-restore-keys<<ENDKEYS"
6767
echo "${cacheKeyPrefix}-"
68-
echo "${cacheKeyBase}-"
6968
echo "ENDKEYS"
7069

7170
# Tools to install

0 commit comments

Comments
 (0)