File tree Expand file tree Collapse file tree 3 files changed +28
-0
lines changed Expand file tree Collapse file tree 3 files changed +28
-0
lines changed Original file line number Diff line number Diff line change 46
46
distribution : ' microsoft'
47
47
java-version : ' 17'
48
48
49
+ - name : Setup Android SDK (Linux only)
50
+ if : matrix.os == 'ubuntu-latest'
51
+ uses : android-actions/setup-android@v3
52
+
49
53
- name : Install dotnet tools
50
54
run : dotnet tool restore
51
55
56
+ - name : Install MAUI workload
57
+ run : dotnet workload install maui
58
+
59
+ - name : Build build tasks (required first)
60
+ run : dotnet build ./Microsoft.Maui.BuildTasks.slnf
61
+
52
62
- name : Restore dependencies
53
63
run : dotnet restore Microsoft.Maui.sln
54
64
Original file line number Diff line number Diff line change 43
43
- name : Install dotnet tools
44
44
run : dotnet tool restore
45
45
46
+ - name : Install MAUI workload
47
+ run : dotnet workload install maui
48
+
46
49
- name : Build build tasks
47
50
run : dotnet build ./Microsoft.Maui.BuildTasks.slnf
48
51
91
94
- name : Install dotnet tools
92
95
run : dotnet tool restore
93
96
97
+ - name : Install MAUI workload
98
+ run : dotnet workload install maui
99
+
94
100
- name : Build build tasks
95
101
run : dotnet build ./Microsoft.Maui.BuildTasks.slnf
96
102
@@ -122,6 +128,9 @@ jobs:
122
128
- name : Install dotnet tools
123
129
run : dotnet tool restore
124
130
131
+ - name : Install MAUI workload
132
+ run : dotnet workload install maui
133
+
125
134
- name : Build build tasks
126
135
run : dotnet build ./Microsoft.Maui.BuildTasks.slnf
127
136
@@ -154,6 +163,9 @@ jobs:
154
163
- name : Install dotnet tools
155
164
run : dotnet tool restore
156
165
166
+ - name : Install MAUI workload
167
+ run : dotnet workload install maui
168
+
157
169
- name : Build device tests
158
170
run : |
159
171
echo "Building device tests (Android only in public runners)..."
Original file line number Diff line number Diff line change 59
59
- name : Install dotnet tools
60
60
run : dotnet tool restore
61
61
62
+ - name : Install MAUI workload
63
+ run : dotnet workload install maui
64
+
62
65
- name : Build and test
63
66
id : build-test
64
67
run : |
68
+ echo "Building build tasks first..."
69
+ dotnet build ./Microsoft.Maui.BuildTasks.slnf
70
+
65
71
echo "Building .NET MAUI solution..."
66
72
dotnet build Microsoft.Maui.sln --configuration Release
67
73
You can’t perform that action at this time.
0 commit comments