GitHub - skills/reusable-workflows: Make a workflow reusable, call it in another workflow, and use a matrix strategy to run multiple versions. | Latest TMZ Celebrity News & Gossip | Watch TMZ Live
Skip to content
/ reusable-workflows Public template

Make a workflow reusable, call it in another workflow, and use a matrix strategy to run multiple versions.

License

Notifications You must be signed in to change notification settings

skills/reusable-workflows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Reusable workflows and matrix strategies

Make a workflow reusable, call it in another workflow, and use a matrix strategy to run multiple versions.

Welcome

Reusable workflows offer a simple and powerful way to avoid copying and pasting workflows across your repositories, and adding a matrix strategy lets you use variables in a single job definition to automatically create multiple job runs.

  • Who is this for: Developers, DevOps engineers, students, managers, teams, GitHub users.
  • What you'll learn: How to create and use reusable workflows, create a matrix strategy, trigger workflows, and find workflow logs.
  • What you'll build: An Actions workflow with a matrix strategy that calls a reusable workflow to output multiple versions of node.
  • Prerequisites: In this course you will work with pull requests and YAML workflow files. We recommend you take the Introduction to GitHub course first or be familiar with GitHub basics, and the Hello GitHub Actions course for an introduction to GitHub Actions and workflow files.
  • How long: This course can be finished in less than one hour.
  • Attribution: This Skills course was inspired by a demo video created by Mickey Gousset (@mickeygousset).

In this course, you will:

  1. Make a reusable workflow
  2. Add a job
  3. Add a matrix strategy
  4. Merge your pull request
  5. Trigger the workflow

How to start this course

start-course

  1. Right-click Start course and open the link in a new tab.
  2. In the new tab, most of the prompts will automatically fill in for you.
    • For owner, choose your personal account or an organization to host the repository.
    • We recommend creating a public repository, as private repositories will use Actions minutes.
    • Scroll down and click the Create repository button at the bottom of the form.
  3. After your new repository is created, wait about 20 seconds, then refresh the page. Follow the step-by-step instructions in the new repository's README.

Get help: Post in our discussion boardReview the GitHub status page

© 2023 GitHub • Code of ConductMIT License

About

Make a workflow reusable, call it in another workflow, and use a matrix strategy to run multiple versions.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Contributors 10

TMZ Celebrity News – Breaking Stories, Videos & Gossip

Looking for the latest TMZ celebrity news? You've come to the right place. From shocking Hollywood scandals to exclusive videos, TMZ delivers it all in real time.

Whether it’s a red carpet slip-up, a viral paparazzi moment, or a legal drama involving your favorite stars, TMZ news is always first to break the story. Stay in the loop with daily updates, insider tips, and jaw-dropping photos.

🎥 Watch TMZ Live

TMZ Live brings you daily celebrity news and interviews straight from the TMZ newsroom. Don’t miss a beat—watch now and see what’s trending in Hollywood.