GitHub Actions

  1. https://docs.github.com/en/actions
  2. https://github.com/academind/github-actions-course-resources/tree/main

Main components:

  1. Workflows
    1. https://docs.github.com/en/actions/writing-workflows/about-workflows
  2. Jobs
    1. Workflows have jobs
    2. Define a Runner (nothing but an execution environment)
  3. Steps
    1. Jobs have steps
    2. This is where we define what work needs to be done
      1. shell script or an Action
    3. e.g. Step1: Download the code, Step2: Install dependencies, etc.
  4. Events
    1. Triggers Workflows
    2. https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows
  5. Actions
    1. Predefined scripts that perform a certain task
    2. You can build your own or use third party Actions
    3. e.g. Checkout Action: https://github.com/actions/checkout
    4. Marketplace: https://github.com/marketplace?type=actions

Links to this note