Back to results for “CI/CD”
.NET MAUI › Publishing & Deployment

How do you set up CI/CD for a MAUI app?

Advanced

Answer

Use a pipeline (GitHub Actions, Azure DevOps) with the .NET MAUI workload installed; build/test on each PR; and on release, publish signed artifacts per platform (iOS on a macOS agent) and deploy to TestFlight/Play internal tracks. Store signing secrets securely and cache the workload/NuGet to speed builds.
- run: dotnet workload install maui
- run: dotnet build -c Release
- run: dotnet test
- run: dotnet publish -f net8.0-android -c Release
Real-world example Every merge to main produces store-ready builds automatically, with iOS built on a hosted Mac and Android on Linux.

Common follow-ups: Why does iOS need a Mac agent? | How do you handle signing secrets in CI?