How do you set up CI/CD for a MAUI app?
Short 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.
Advertisement
AModel 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.
Example
- 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.
Likely follow-ups
- Why does iOS need a Mac agent? | How do you handle signing secrets in CI?
Related topics