diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f632c1e..4e800d3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -54,12 +54,11 @@ jobs: - name: Install MAUI Workload run: dotnet workload install maui --ignore-failed-sources - - name: Set XCode Version - shell: bash - run: | - sudo xcode-select -s "/Applications/Xcode_15.1.app" - echo "MD_APPLE_SDK_ROOT=/Applications/Xcode_15.1.app" >> $GITHUB_ENV - + - name: Setup Xcode version + uses: maxim-lobanov/setup-xcode@v1.6.0 + with: + xcode-version: latest-stable + - name: Restore Dependencies run: dotnet restore 'Sample/Direct Maui/LocalNotification.Sample/LocalNotification.Sample.csproj'