Skip to content

Commit

Permalink
Actions: osx fix (#3364)
Browse files Browse the repository at this point in the history
* Update mac.yml
  • Loading branch information
meee1 committed Jun 13, 2024
1 parent 1f65fe3 commit 2a8f551
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: [push, workflow_dispatch, pull_request]
jobs:
buildIOS:
name: Build IOS
runs-on: macos-latest
runs-on: macos-13

steps:
- uses: actions/checkout@v2
Expand All @@ -22,6 +22,9 @@ jobs:
- name: Build
shell: pwsh
run: |
brew install --cask xamarin-ios
brew install --cask xamarin-android
brew install --cask xamarin-mac
msbuild -ver
dotnet --version
dotnet --list-sdks
Expand All @@ -34,19 +37,13 @@ jobs:

buildOSX:
name: Build OSX
runs-on: macos-latest
runs-on: macos-13

steps:
- uses: actions/checkout@v2
with:
submodules: true
fetch-depth: 10

- name: Set default Xcode 14.0.1
run: |
XCODE_ROOT=/Applications/Xcode_14.0.1.app
echo "MD_APPLE_SDK_ROOT=$XCODE_ROOT" >> $GITHUB_ENV
sudo xcode-select -s $XCODE_ROOT

- name: Cache multiple paths
uses: actions/cache@v2
Expand All @@ -58,6 +55,9 @@ jobs:
- name: Build
shell: pwsh
run: |
brew install --cask xamarin-ios
brew install --cask xamarin-android
brew install --cask xamarin-mac
msbuild -ver
dotnet --version
dotnet --list-sdks
Expand Down

0 comments on commit 2a8f551

Please sign in to comment.