Fix macOS CI

Seen in https://github.com/ddnet/ddnet/actions/runs/6969106161/job/18964960431

Error: No such keg: /usr/local/Cellar/python@3.10
This commit is contained in:
Dennis Felsing 2023-11-23 13:20:28 +01:00
parent 6fc27bea8c
commit cfced55534

View file

@ -92,7 +92,7 @@ jobs:
brew update || true brew update || true
brew install pkg-config sdl2 ffmpeg ninja molten-vk vulkan-headers glslang spirv-tools || true brew install pkg-config sdl2 ffmpeg ninja molten-vk vulkan-headers glslang spirv-tools || true
# --overwrite for: Target /usr/local/bin/2to3 already exists. # --overwrite for: Target /usr/local/bin/2to3 already exists.
brew link --overwrite python@3.10 brew link --overwrite python@3.11
brew upgrade freetype brew upgrade freetype
pip3 install dmgbuild pip3 install dmgbuild
echo /Library/Frameworks/Python.framework/Versions/3.11/bin >> $GITHUB_PATH echo /Library/Frameworks/Python.framework/Versions/3.11/bin >> $GITHUB_PATH