mirror of
https://github.com/mpv-player/mpv
synced 2025-02-16 20:27:23 +00:00
github/workflows: use xcode 13.1 if image defaults to xcode 13.0
I find it both hilarious and sad that Github decided that defaulting to XCode 13.0 was a good idea... At least they added 13.1 quickly. Ref actions/virtual-environments#4180 Ref actions/virtual-environments#4300
This commit is contained in:
parent
06392e7ec1
commit
a76527772e
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
@ -53,6 +53,16 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Override Xcode 13.0 if it's the default toolchain
|
||||||
|
run: |
|
||||||
|
XCODE_PATH="$(xcode-select -p)"
|
||||||
|
case "${XCODE_PATH}" in
|
||||||
|
*Xcode_13.0*)
|
||||||
|
sudo xcode-select -s "/Applications/Xcode_13.1.app"
|
||||||
|
echo "Updated Xcode path ${XCODE_PATH} -> $(xcode-select -p)"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
brew update
|
brew update
|
||||||
|
Loading…
Reference in New Issue
Block a user