File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -526,7 +526,7 @@ jobs:
526526 build_mac :
527527 name : Build macOS Binaries
528528 env :
529- SHARED_DEPS : " autoconf automake pkg-config xa lame dos2unix libomp"
529+ SHARED_DEPS : " autoconf automake pkg-config xa lame dos2unix libomp libvorbis flac "
530530 needs : [create_release, build_doc]
531531 strategy :
532532 fail-fast : false
@@ -573,9 +573,16 @@ jobs:
573573
574574 - name : Homebrew Install Dependencies
575575 run : |
576+ FLAG="${{ matrix.silicon.brew_prefix }}/Homebrew/.vice_cache_ready"
577+ if [ -f "$FLAG" ]; then
578+ echo "Homebrew cache already warmed: $FLAG exists. Skipping initial brew uninstall."
579+ else
580+ brew list -1 | xargs brew uninstall --force
581+ touch "$FLAG"
582+ echo "Created cache flag: $FLAG"
583+ fi
576584 export HOMEBREW_NO_INSTALL_CLEANUP=1
577585 brew update
578- brew upgrade || true
579586 brew install ${{ env.SHARED_DEPS }} ${{ matrix.ui.deps }}
580587
581588 - name : Build
You can’t perform that action at this time.
0 commit comments