CI/CD and GitHub
Since GitHub’s acquisition by Microsoft, many features have evolved and new options have been delivered, enhancing the power of this powerful tool. This integration can be checked using the Azure portal, and particularly using GitHub Actions.
GitHub Actions is a set of tools that helps with the automation of software development. It enables a fast CI/CD service on any platform, having YAML files to define its workflows. You can consider GitHub Actions as the new approach presented by Microsoft to substitute Azure DevOps Pipelines. It is worth mentioning that you can automate any GitHub event using GitHub Actions, with thousands of actions available on GitHub Marketplace:
Figure 22.2: GitHub Actions
Creating a workflow to build a .NET web app is quite simple via the GitHub Actions interface. As you can see in the preceding screenshot, there are some workflows already created, to help us out.
The YAML we have below was generated by clicking...