Loading...
「ツール」は右上に移動しました。
利用したサーバー: wtserver1
37いいね 1,341 views回再生

Create Your First Custom GitHub Action

This video is part 8 in my Introduction to GitHub Actions video series. At this point we have a workflow that runs on both a pull request and another on a push to the default branch. But what we are seeing is that we are running some of the same steps in each workflow.

We want to create a custom "composite" action that allows us to put all that code in one spot, and reference it from multiple places. That's were building a custom action comes in. There are three different types of custom actions, and for this instance we are using a "composite" custom action.

This video will also be helpful in preparing for the GitHub Actions certification exam.

Demo Repo: https://github.com/devopselvis/my-git...

============================================================

🕔 TIMESTAMPS
0:00 Intro
1:27 Review PR and Push to Main Workflows
3:36 Build custom composite action
10:58 Use the composite action
17:01 Watch me try and get fancy and break the demo (sort of)
19:45 Wrap-up

============================================================

🎥 INTRODUCTION TO GITHUB ACTIONS VIDEO SERIES
▶️ Part 1 - Your First GitHub Actions Workflow -    • GitHub Migration Series - Day 2 - git clon...  
▶️ Part 2 - Chaining Jobs Together In A Workflow -    • Introduction to GitHub Actions - Part 2 - ...  
▶️ Part 3 - The GitHub Context Object and Variables -    • Introduction to GitHub Actions - Part 3 - ...  
▶️ Part 4 - The GitHub Marketplace -    • Introduction to GitHub Actions - Part 4 - ...  
▶️ Part 5 - Run A Workflow Against A Pull Request -    • Introduction to GitHub Actions - Part 5 - ...  
▶️ Part 6 - Repository Rulesets -    • Introduction to GitHub Actions - Part 6 - ...  
▶️ Part 7 - Deploy Your App Using GitHub Actions -    • Introduction to GitHub Actions - Part 7 - ...  
▶️ Part 8 - Create Your First Custom GitHub Action -    • Create Your First Custom GitHub Action  
▶️ Part 9 - Create Your First Reusable Workflow -    • Create Your First Reusable Workflow  
▶️ Part 10 - Concurrency -    • GitHub Actions - Is Concurrency Important  
▶️ Part 11 - Trigger on a Custom Event -    • GitHub Actions - Trigger on a Custom Event  
▶️ Part 12 - Masking Variables and Secrets -    • GitHub Actions - Masking Variables and Sec...  

===========================================================

🌐 FIND ME
👉 Blog: https://mickeygousset.com
👉 GitHub: https://github.com/mickeygousset
👉 Twitter:   / mickey_gousset  

コメント