2121 branches :
2222 - develop
2323 - main
24- - shadcn-ui-main # just for now ensure PRs to this branch have checks run
24+ - feat/sync-morph-types # just for now ensure PRs to this branch have checks run
2525env :
2626 VIEWER_BUILD_OUTPUT_DIR : backend/FwLite/FwLiteShared/wwwroot/viewer
2727jobs :
3939 submodules : true
4040 - uses : actions/setup-dotnet@v4
4141 with :
42- dotnet-version : ' 9.x'
42+ dotnet-version : ' 10.x'
43+ - name : Setup Maui
44+ run : dotnet workload install maui
4345 - name : Install Task
4446 uses : arduino/setup-task@b91d5d2c96a56797b48ac1e0e89220bf64044611 # v2
4547 with :
@@ -177,7 +179,7 @@ jobs:
177179 path : ${{ env.VIEWER_BUILD_OUTPUT_DIR }}
178180 - uses : actions/setup-dotnet@v4
179181 with :
180- dotnet-version : ' 9 .x'
182+ dotnet-version : ' 10 .x'
181183
182184 - name : Dotnet build
183185 working-directory : backend/FwLite/FwLiteWeb
@@ -214,7 +216,7 @@ jobs:
214216 path : ${{ env.VIEWER_BUILD_OUTPUT_DIR }}
215217 - uses : actions/setup-dotnet@v4
216218 with :
217- dotnet-version : ' 9 .x'
219+ dotnet-version : ' 10 .x'
218220
219221 - name : Publish Linux
220222 working-directory : backend/FwLite/FwLiteWeb
@@ -260,7 +262,7 @@ jobs:
260262 path : ${{ env.VIEWER_BUILD_OUTPUT_DIR }}
261263 - uses : actions/setup-dotnet@v4
262264 with :
263- dotnet-version : ' 9 .x'
265+ dotnet-version : ' 10 .x'
264266
265267 - name : Setup Maui
266268 run : dotnet workload install maui
@@ -279,7 +281,7 @@ jobs:
279281 KEYSTORE_PASS : ${{ secrets.FW_LITE_KEYSTORE_PASS }}
280282 KEYSTORE_ALIAS : ${{ vars.FW_LITE_KEYSTORE_UPLOAD_KEY_ALIAS }}
281283 run : |
282- dotnet publish -f net9 .0-android -p:BuildApple=false --artifacts-path ../artifacts \
284+ dotnet publish -f net10 .0-android -p:BuildApple=false --artifacts-path ../artifacts \
283285 -p:ApplicationDisplayVersion=${{ needs.build-and-test.outputs.semver-version }} \
284286 -p:ApplicationVersion=${{ github.run_number }} \
285287 -p:InformationalVersion=${{ needs.build-and-test.outputs.version }} \
@@ -295,8 +297,8 @@ jobs:
295297 with :
296298 name : fw-lite-android
297299 if-no-files-found : error
298- # path looks like this: backend/FwLite/artifacts/publish/FwLiteMaui/release_net9 .0-android/org.sil.fwlitemaui-signed.apk
299- path : backend/FwLite/artifacts/publish/FwLiteMaui/release_net9 .0-android/*
300+ # path looks like this: backend/FwLite/artifacts/publish/FwLiteMaui/release_net10 .0-android/org.sil.fwlitemaui-signed.apk
301+ path : backend/FwLite/artifacts/publish/FwLiteMaui/release_net10 .0-android/*
300302
301303 publish-win :
302304 name : Publish FW Lite app for Windows
@@ -314,24 +316,27 @@ jobs:
314316 path : ${{ env.VIEWER_BUILD_OUTPUT_DIR }}
315317 - uses : actions/setup-dotnet@v4
316318 with :
317- dotnet-version : ' 9 .x'
319+ dotnet-version : ' 10 .x'
318320
319321 - name : Setup Maui
320322 run : dotnet workload install maui
321323
322324 - name : Publish Windows MAUI portable app
323325 working-directory : backend/FwLite/FwLiteMaui
324326 run : |
325- dotnet publish -f net9 .0-windows10.0.19041.0 -p:BuildAndroid=false --artifacts-path ../artifacts -p:WindowsPackageType=None -p:ApplicationDisplayVersion=${{ needs.build-and-test.outputs.semver-version }} -p:InformationalVersion=${{ needs.build-and-test.outputs.version }}
327+ dotnet publish -f net10 .0-windows10.0.19041.0 -p:BuildAndroid=false --artifacts-path ../artifacts -p:WindowsPackageType=None -p:ApplicationDisplayVersion=${{ needs.build-and-test.outputs.semver-version }} -p:InformationalVersion=${{ needs.build-and-test.outputs.version }}
326328 mkdir -p ../artifacts/sign/portable
327329 cp -r ../artifacts/publish/FwLiteMaui/* ../artifacts/sign/portable/
328330
329331 - name : Publish Windows MAUI msix app
330332 working-directory : backend/FwLite/FwLiteMaui
331333 run : |
332- dotnet publish -f net9.0-windows10.0.19041.0 -p:BuildAndroid=false --artifacts-path ../artifacts -p:ApplicationDisplayVersion=${{ needs.build-and-test.outputs.semver-version }} -p:InformationalVersion=${{ needs.build-and-test.outputs.version }}
334+ # AppxPackageDir is the MSIX-targets equivalent of --artifacts-path: without it
335+ # MAUI 10 writes AppPackages to $(MSBuildProjectDirectory)/AppPackages, ignoring
336+ # --artifacts-path. Redirect it under artifacts/ so everything lives in one tree.
337+ dotnet publish -f net10.0-windows10.0.19041.0 -p:BuildAndroid=false --artifacts-path ../artifacts -p:AppxPackageDir=../artifacts/AppPackages/ -p:ApplicationDisplayVersion=${{ needs.build-and-test.outputs.semver-version }} -p:InformationalVersion=${{ needs.build-and-test.outputs.version }}
333338 mkdir -p ../artifacts/msix
334- cp ../artifacts/bin/FwLiteMaui/*/ AppPackages/*/*.msix ../artifacts/msix/
339+ cp ../artifacts/AppPackages/*/*.msix ../artifacts/msix/
335340
336341 - name : Bundle MSIX
337342 working-directory : backend/FwLite/artifacts/msix
0 commit comments