Member-only story

Guard your open-sourced Flutter app with GitHub Actions

Release with confidence even when that magical “Steve” is on vacation.

Jackson Zhou
4 min readOct 14, 2019

Background = boss.says(“release”).then(???).catch(err) { print “No, we cannot because Steve is on vacation” } …

Let’s first get the definitions out of the way

  • Flutter: a young cross-platform framework.
  • GitHub Actions: GitHub’s homebrew CI/CD platform.
  • Guard: you don’t need a magical “Steve” to approve every pull request. Instead, it will happen automagically.

Flutter + GitHub Actions == long-term productivity

Note: it’s not === because I’m not JS kind of person

  • Flutter, among all cross-platform frameworks, doesn’t have the shortest zero to MVP time but has the shortest zero to product time.
  • GitHub Actions, among all CI/CD platforms, doesn’t have the most built-in magic but has the best componentization and flexibility.

Enough for the background, let’s build the guard for our Flutter project!

Note: I will demonstrate the GitHub Actions workflow using a small demo Flutter app I wrote before. Feel free to check out the code here:

--

--

No responses yet