Better Programming

Advice for programmers.

Follow publication

Member-only story

CI/CD for Flutter Apps Using GitHub Actions

IspeakCode
Better Programming
Published in
5 min readOct 3, 2019

GitHub actions for Flutter.

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.

Actions tab in the repository.

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.

Create an account to read the full story.

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web

Already have an account? Sign in

IspeakCode
IspeakCode

Written by IspeakCode

I Speak Code, binge thrillers, and seek adventures while following food, sports, fashion, and science.

Responses (8)

Write a response