GitHub Actions
Since our source code is hosted in GitHub, we will use GitHub Actions as an example to introduce how to set up CI workflows for .NET MAUI development.
Understanding GitHub Actions
GitHub Actions is a CI/CD platform that can be used to support the automation of deployment. For .NET MAUI app development, our target is to build, test, and deploy our apps to app stores or specified publishing channels. In this section, we will focus on CI using GitHub Actions rather than both CI and CD. To deploy apps to various stores, there are many account-specific setup steps, please refer to the .NET MAUI document for the details:
https://learn.microsoft.com/en-us/dotnet/maui/deployment/
The GitHub Actions workflow is a process to automatically build and deploy the deliverables from a project. The workflow usually starts from an event such as a push
or pull_request
event or when an issue is submitted. Once a workflow is triggered, the defined jobs will start to perform certain...