Member-only story
CI/CD for Flutter Apps Using GitHub Actions
The project featured on flutter.io to configure GitHub Actions for a Flutter project to test, build, and release an APK.

This project is now featured in the Continuous Deployment section on the official Flutter Website.
GitHub Actions, the automation tool to add CI/CD workflow for projects on GitHub is currently available in beta. ( Update- Github Actions is now officially out of beta )
Even though the public release is still more than a month away on November 13, the GitHub marketplace has already seen a good number of Actions to help with CI/CD for almost all major platforms.
In this article, we will talk about the various steps to integrate the CI/CD workflow for a Flutter app.
Sign up for GitHub Actions public beta, if you haven’t done so already - here.
1. Creating a GitHub Project
The first and obvious step is to create a GitHub project and connect your Flutter project with the repository.
If you have successfully completed the sign-up process for Actions beta, you should be able to see a new Actions tab for your project right next to pull requests.

2. Adding Workflow file
GitHub provides many predefined workflows for the most popular platforms out there, and you can customize or create entirely new ones as well, in a visual editor.
But, in this project, we will be following the manual approach of creating a YAML file with the workflow commands.
In the root folder of your Flutter project, create a new folder .github
and create a subfolder workflows
. This is where our workflow YAML files will reside.