CI: Update MacOS Runner to 11 from 10.15 (#173)

* bump to macos-11 runners
* remove xcode removal hack
This commit is contained in:
Ilya Kreymer
2023-06-01 17:55:43 -07:00
committed by GitHub
parent a1c0a9bb57
commit d767e6e164
+6 -6
View File
@@ -8,10 +8,10 @@ jobs:
strategy:
matrix:
os: [macos-10.15, ubuntu-latest]
os: [macos-11, ubuntu-latest]
platform: [windows, linux]
exclude:
- os: macos-10.15
- os: macos-11
platform: windows
steps:
@@ -45,10 +45,10 @@ jobs:
run: |
if [ "$RUNNER_OS" != "Linux" ]; then
sudo rm -Rf /Library/Developer/CommandLineTools/SDKs/*
sudo xcode-select -s "/Applications/Xcode_12.3.app"
fi
#if [ "$RUNNER_OS" != "Linux" ]; then
# sudo rm -Rf /Library/Developer/CommandLineTools/SDKs/*
# sudo xcode-select -s "/Applications/Xcode_12.3.app"
#fi
if [ "$GITHUB_REF" == "refs/heads/main" ] || [ -f ./force_release ]; then
export YARN_BUILD_CMD="release"