Skip to content

Commit

Permalink
Rollback iOS workload to last known working version
Browse files Browse the repository at this point in the history
  • Loading branch information
smoogipoo committed Oct 5, 2024
1 parent 19b54b7 commit ace6f7e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 12 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,12 +141,8 @@ jobs:
dotnet-version: "8.0.x"

- name: Restore .NET workloads
# `dotnet workload restore` is bugged in .NET 7.0.101+ when restoring iOS projects,
# see https://github.com/xamarin/xamarin-macios/issues/16400.
run: dotnet workload install ios

- name: Select Xcode 16
run: sudo xcode-select -s /Applications/Xcode_16.app/Contents/Developer
run: dotnet workload install ios --from-rollback-file workloads.json

- name: Compile
run: dotnet build -c Debug osu-framework.iOS.slnf

7 changes: 1 addition & 6 deletions .github/workflows/deploy-pack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,12 +166,7 @@ jobs:
dotnet-version: "8.0.x"

- name: Restore .NET Workloads
# `dotnet workload restore` is bugged in .NET 7.0.101+ when restoring iOS projects,
# see https://github.com/xamarin/xamarin-macios/issues/16400.
run: dotnet workload install ios

- name: Select Xcode 16
run: sudo xcode-select -s /Applications/Xcode_16.app/Contents/Developer
run: dotnet workload install ios --from-rollback-file workloads.json

- name: Pack (iOS Framework)
run: dotnet pack -c Release osu.Framework.iOS /p:Version=${{ github.ref_name }} /p:GenerateDocumentationFile=true -o ${{steps.artifactsPath.outputs.nuget_artifacts}}
Expand Down
3 changes: 3 additions & 0 deletions workloads.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"microsoft.net.sdk.ios": "17.2.8053/8.0.100"
}

0 comments on commit ace6f7e

Please sign in to comment.