Course contentsShow
← Cloud and Infrastructure
Lesson 1688 of 2,98935. GitHub ActionsFree lesson

Using Pre-built Actions from Marketplace

Discovering and integrating community actions from GitHub Marketplace to reuse common functionality.

Using Pre-built Actions from Marketplace

What You'll Learn

You'll learn how to discover and integrate community-built actions from the GitHub Marketplace to avoid reinventing common pipeline functionality.

The Core Idea

Think of the GitHub Marketplace as an app store for CI/CD functionality. Instead of writing custom shell scripts for every common task (checking out code, setting up languages, deploying to cloud services), you can use pre-built actions that the community has already created, tested, and maintained.

Why Use Marketplace Actions?

Writing everything from scratch is time-consuming and error-prone. The Marketplace offers thousands of ready-to-use actions for:

  • Language setup (Node.js, Python, Java)
  • Cloud deployments (AWS, Azure, GCP)
  • Testing frameworks
  • Security scanning
  • Notification systems

These actions are like importing a library in code—you get powerful functionality in a single line.

How to Find and Use Them

Browse the GitHub Marketplace or search directly in your workflow file editor. Each action has a unique identifier in the format owner/repo@version.

To use an action in your workflow step, reference it with the uses keyword:

steps:
  - uses: actions/checkout@v3
  - uses: actions/setup-node@v3
    with:
      node-version: '18'

The actions/checkout@v3 action handles cloning your repository, while actions/setup-node@v3 configures Node.js. Notice the with section—many actions accept input parameters to customize behavior.

Choosing Quality Actions

Look for actions with:

  • High star counts and recent updates
  • Clear documentation
  • Verified creators (official organizations)
  • Semantic versioning tags

Key Takeaway: GitHub Marketplace actions let you reuse battle-tested functionality instead of building everything yourself, dramatically accelerating pipeline development while maintaining reliability and best practices.