This blog post focuses on how we can create a reusable workflow for GitHub Actions. The do’s and don’ts will be elaborated along the way.
1. What are the available options? There are two major types of workflows that can be reused in Github Actions:
Custom actions Reusable workflows Reusable workflows are quite new. In this blog, we decide to use custom actions (or more specifically, composite actions). The main reason is because we want to run the workflow inside a job, along with other steps (to share caches, tokens, etc…).
Read more →