diff --git a/.github/workflows/build-all.yml b/.github/workflows/build-all.yml index 7eb1ce736..64e68beb2 100644 --- a/.github/workflows/build-all.yml +++ b/.github/workflows/build-all.yml @@ -23,10 +23,9 @@ jobs: - name: Install .NET MAUI Workload run: dotnet workload install maui - # if: runner.os == 'macOS' # reenable when .NET 8 is default on hosted runners - name: Select Xcode Version - run: sudo xcode-select -s /Applications/Xcode_16.1.app + run: sudo xcode-select -s /Applications/Xcode_16.0.app if: runner.os == 'macOS' - name: Find and build all C# projects @@ -75,7 +74,12 @@ jobs: $proj_dir = [System.IO.Path]::GetDirectoryName($csproj) Write-Output "Cleaning up bin & obj in $proj_dir" - Get-ChildItem -Path $proj_dir -Directory -Recurse -Include bin,obj | Remove-Item -Recurse -Force + + try { + Get-ChildItem -Path $proj_dir -Directory -Recurse -Include bin,obj | Remove-Item -Recurse -Force + } catch { + Write-Output "::warning:: Failed to clean up bin & obj in $proj_dir" + } Write-Output "::endgroup::" } diff --git a/.github/workflows/build-pr.yml b/.github/workflows/build-pr.yml index b0b9b0fb4..ae208ff41 100644 --- a/.github/workflows/build-pr.yml +++ b/.github/workflows/build-pr.yml @@ -27,10 +27,9 @@ jobs: - name: Install .NET MAUI Workload run: dotnet workload install maui - # if: runner.os == 'macOS' # reenable when .NET 8 is default on hosted runners - name: Select Xcode Version - run: sudo xcode-select -s /Applications/Xcode_16.1.app + run: sudo xcode-select -s /Applications/Xcode_16.0.app if: runner.os == 'macOS' - name: Find and build changed projects @@ -112,7 +111,12 @@ jobs: $proj_dir = [System.IO.Path]::GetDirectoryName($projectToBuild) Write-Output "Cleaning up bin & obj in $proj_dir" - Get-ChildItem -Path $proj_dir -Directory -Recurse -Include bin,obj | Remove-Item -Recurse -Force + + try { + Get-ChildItem -Path $proj_dir -Directory -Recurse -Include bin,obj | Remove-Item -Recurse -Force + } catch { + Write-Output "::warning:: Failed to clean up bin & obj in $proj_dir" + } Write-Output "::endgroup::" } diff --git a/9.0/Apps/WeatherTwentyOne/src/WeatherTwentyOne/Platforms/Android/AndroidManifest.xml b/9.0/Apps/WeatherTwentyOne/src/WeatherTwentyOne/Platforms/Android/AndroidManifest.xml index 48b9e6aa4..68d8df73b 100644 --- a/9.0/Apps/WeatherTwentyOne/src/WeatherTwentyOne/Platforms/Android/AndroidManifest.xml +++ b/9.0/Apps/WeatherTwentyOne/src/WeatherTwentyOne/Platforms/Android/AndroidManifest.xml @@ -1,6 +1,6 @@ - + \ No newline at end of file