Back to Blog
Subosito flutter action v16/24/2023 ![]() On line 3–7, we describe the triggers for that workflow. The name will be represented later on the GitHub Page to indicate if this workflow failed or passed. Line 1: We declare our Action name in the file above we call it CI. ![]() For example, we can create our first main.yaml. The “.github” folder contains all our files that represents a workflow in our GitHub Actions. Therefore, we jump right into our IDE and create a new folder “.github” in our project root for our GitHub Actions. This would be much harder and therefore I decided to do that in our repository with the IDE of our choice. We could skip the initialization of the workflow and write our CI / CD code directly on the website of GitHub. We have to create a custom workflow to achieve a build with flutter. But because we want to install a flutter application we have to do something different here. In our Flutter project it will recommend us the typical dart installation path. That is quite handy and allows us to implement the first steps really fast. This suggestion would create us a basic workflow that fits our current project. When you navigate into the actions tab the first time, you will find a message that informs you that it has already scanned your repository and gives you a suggestion. This brings you to a page where you can find all your created workflows and if they where successful or not. ![]() As soon as you open your git repo you will find a new Tab called “Actions”. So let’s get into it, by integrating GitHub Actions with our flutter repository. Additionally it allows other users to create their own actions that they can share with other users. And private repositories can start with a free plan of 2000 build minutes a month. ![]() All public repositories are free for this service (GitHub announce that they love OpenSource). So why should I use GitHub’s new service compared to all the others like Travis CI, Bitbucket or codemagic? Well on the first glance the pricing model is ridiculously cheap compared to the competitors. ![]()
0 Comments
Read More
Leave a Reply. |