11name : Build Projects
22
3+ env :
4+ XcodeVersion : 26.3
5+
36on :
47 push :
58 branches :
@@ -15,10 +18,10 @@ jobs:
1518 steps :
1619 - uses : actions/checkout@v4
1720
18- - name : Setup .NET v9 .0
21+ - name : Setup .NET v10 .0
1922 uses : actions/setup-dotnet@v4
2023 with :
21- dotnet-version : ' 9 .0.x'
24+ dotnet-version : ' 10 .0.x'
2225
2326 - name : Install .NET MAUI Workload
2427 run : |
@@ -32,18 +35,18 @@ jobs:
3235 MobileProjectDirectory=`dirname $MobileProject`
3336 echo $MobileProjectDirectory
3437
35- dotnet build $MobileProjectDirectory -f:net9 .0-android -c Release
38+ dotnet build $MobileProjectDirectory -f:net10 .0-android -c Release
3639
3740 iOS :
3841 runs-on : macos-15
3942
4043 steps :
4144 - uses : actions/checkout@v4
4245
43- - name : Setup .NET v9 .0
46+ - name : Setup .NET v10 .0
4447 uses : actions/setup-dotnet@v4
4548 with :
46- dotnet-version : ' 9 .0.x'
49+ dotnet-version : ' 10 .0.x'
4750
4851 - name : Install .NET MAUI Workload
4952 run : |
5255 - name : Install Xcode
5356 uses : maxim-lobanov/setup-xcode@v1
5457 with :
55- xcode-version : latest-stable
58+ xcode-version : ${{ env.XcodeVersion }}
5659
5760 - name : Build iOS App
5861 run : |
@@ -62,18 +65,18 @@ jobs:
6265 MobileProjectDirectory=`dirname $MobileProject`
6366 echo $MobileProjectDirectory
6467
65- dotnet build $MobileProjectDirectory -f:net9 .0-ios -c Release
68+ dotnet build $MobileProjectDirectory -f:net10 .0-ios -c Release
6669
6770 MacCatalyst :
6871 runs-on : macos-15
6972
7073 steps :
7174 - uses : actions/checkout@v4
7275
73- - name : Setup .NET v9 .0
76+ - name : Setup .NET v10 .0
7477 uses : actions/setup-dotnet@v4
7578 with :
76- dotnet-version : ' 9 .0.x'
79+ dotnet-version : ' 10 .0.x'
7780
7881 - name : Install .NET MAUI Workload
7982 run : |
8285 - name : Install Xcode
8386 uses : maxim-lobanov/setup-xcode@v1
8487 with :
85- xcode-version : latest-stable
88+ xcode-version : ${{ env.XcodeVersion }}
8689
8790 - name : Build macOS App
8891 run : |
9295 MobileProjectDirectory=`dirname $MobileProject`
9396 echo $MobileProjectDirectory
9497
95- dotnet build $MobileProjectDirectory -f:net9 .0-maccatalyst -c Release
98+ dotnet build $MobileProjectDirectory -f:net10 .0-maccatalyst -c Release
9699
97100 Windows :
98101 runs-on : windows-latest
@@ -105,29 +108,29 @@ jobs:
105108 distribution : ' microsoft'
106109 java-version : ' 17'
107110
108- - name : Setup .NET v9 .0
111+ - name : Setup .NET v10 .0
109112 uses : actions/setup-dotnet@v4
110113 with :
111- dotnet-version : ' 9 .0.x'
114+ dotnet-version : ' 10 .0.x'
112115
113116 - name : Install .NET MAUI Workload
114117 run : |
115118 dotnet workload install maui
116119
117120 - name : Build Windows App
118121 run : |
119- dotnet build ./samples/GitStatus.Mobile/ -c Release -f net9 .0-windows10.0.19041.0
122+ dotnet build ./samples/GitStatus.Mobile/ -c Release -f net10 .0-windows10.0.19041.0
120123
121124 API :
122125 runs-on : macos-latest
123126
124127 steps :
125128 - uses : actions/checkout@v4
126129
127- - name : Setup .NET v9 .0
130+ - name : Setup .NET v10 .0
128131 uses : actions/setup-dotnet@v4
129132 with :
130- dotnet-version : ' 9 .0.x'
133+ dotnet-version : ' 10 .0.x'
131134
132135 - name : Build API App
133136 run : |
@@ -145,10 +148,10 @@ jobs:
145148 steps :
146149 - uses : actions/checkout@v4
147150
148- - name : Setup .NET v9 .0
151+ - name : Setup .NET v10 .0
149152 uses : actions/setup-dotnet@v4
150153 with :
151- dotnet-version : ' 9 .0.x'
154+ dotnet-version : ' 10 .0.x'
152155
153156 - name : Build Console App
154157 run : |
@@ -166,10 +169,10 @@ jobs:
166169 steps :
167170 - uses : actions/checkout@v4
168171
169- - name : Setup .NET v9 .0
172+ - name : Setup .NET v10 .0
170173 uses : actions/setup-dotnet@v4
171174 with :
172- dotnet-version : ' 9 .0.x'
175+ dotnet-version : ' 10 .0.x'
173176
174177 - name : Build Web App
175178 run : |
@@ -187,10 +190,10 @@ jobs:
187190 steps :
188191 - uses : actions/checkout@v4
189192
190- - name : Setup .NET v9 .0
193+ - name : Setup .NET v10 .0
191194 uses : actions/setup-dotnet@v4
192195 with :
193- dotnet-version : ' 9 .0.x'
196+ dotnet-version : ' 10 .0.x'
194197
195198
196199 - name : Build Web App
0 commit comments