mirror of
https://github.com/actions/runner-images.git
synced 2025-12-11 03:27:05 +00:00
[macOS] Add Symlink for tcl-tk8 (#11128)
* [macOS] Add Symlink for tcl-tk8 * [macOS] Add condition for tcl tk only for macOS13 and macOS14 Intel machines * [macOS] Update test case for tcl/tk * [macOS] Update test cases for tcl/tk for macOS15 * [macOS] Update tcl/tk test cases
This commit is contained in:
committed by
GitHub
parent
0e631a89e8
commit
5c8a14c94c
@@ -21,7 +21,14 @@ for package in $common_packages; do
|
||||
# Packer has been deprecated in Homebrew. Use tap to install Packer.
|
||||
brew install hashicorp/tap/packer
|
||||
else
|
||||
brew_smart_install "$package"
|
||||
if (is_VenturaX64 || is_SonomaX64) && [[ $package == "tcl-tk@8" ]]; then
|
||||
brew_smart_install "$package"
|
||||
# Fix for https://github.com/actions/runner-images/issues/11074
|
||||
ln -sf $(brew --prefix tcl-tk@8)/lib/libtcl8.6.dylib /usr/local/lib/libtcl8.6.dylib
|
||||
ln -sf $(brew --prefix tcl-tk@8)/lib/libtk8.6.dylib /usr/local/lib/libtk8.6.dylib
|
||||
else
|
||||
brew_smart_install "$package"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user