Skip to content

Commit 3b2c9c1

Browse files
fix: remove unscoped dotnet restore causing iOS workload error on Ubuntu
The separate `dotnet restore Trimble.Modus.Components.sln` step restores ALL target frameworks (including ios/maccatalyst) which aren't available on Ubuntu. Removing it and letting `dotnet build -f net9.0-android` handle both restore and build scopes everything to android only. Agent-Logs-Url: https://github.com/trimble-oss/modus-mobile-maui-components/sessions/d85990fa-e435-43f7-9ecc-571eb3329b92 Co-authored-by: jeff-at-trimble <215895768+jeff-at-trimble@users.noreply.github.com>
1 parent 2164258 commit 3b2c9c1

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,8 @@ jobs:
5252
languages: ${{ matrix.language }}
5353
queries: +security-and-quality
5454

55-
- name: Restore dependencies
56-
run: dotnet restore Trimble.Modus.Components.sln
57-
5855
- name: Build
59-
run: dotnet build Trimble.Modus.Components.sln -f net9.0-android -c Release --no-restore
56+
run: dotnet build Trimble.Modus.Components.sln -f net9.0-android -c Release
6057

6158
- name: Perform CodeQL Analysis
6259
uses: github/codeql-action/analyze@v4

0 commit comments

Comments
 (0)