Automate your workflow through GitHub Action - Blogs
X
06May

Automate your workflow through GitHub Action

GitHub Action:

GitHub Actions is a continues integration and continues delivery platform that allows you to automate your build, test, deployment pipeline. GitHub actions let you run workflows when other events happen in your repository. GitHub provides Linux, Windows, and macOS virtual machines to run your workflows, or you can host your own self-hosted runners in your own datacenter.

The GitHub Actions consist of several components including:

  • GitHub Events
  • Runner
  • Workflow

GitHub Events:

An event is a specific activity in a repository that triggers a workflow run on GitHub.

Runner:

A runner is a server that runs your workflows when they're triggered. Each runner can run a single job at a time. There are 2 types of Runners Available

  • GitHub Hosted Runner
  • Self-Hosted Runner

Workflow:

A Workflow is an Automated process that is made of one job or multiple jobs, and it can be trigger by an event. Workflows are defined using a YAML file in the. github/workflows directory.

Get Started with GitHub Actions:

1. Navigate to Actions from your repository's home page.

Picture0

2. Then pick a template you would like to use and click on configure.

picture1

3. You may now commit the Action to your repository by pressing the start Commit button.

Picture2

Adding an Actions template to your workflow:

Action template can be found on GitHub marketplace. There are 10000 + Actions are available in marketplace.

Picture3

4. On the main page of your repository, click Actions.

 

Picture4

 

5. After you click build, you'll see all the specifics for your workflow file.

 

Picture5

Picture6

6. Your result file is now visible.

Picture7

Conclusion :

I Hope that this Blog helped you to  understand GitHub Actions and how can you use them to automate GitHub Workflow . Also its gives you a short idea about events , runner & workflow and how can you use them .

Related

Subversion (Centralized Version Control System)

Version control system is a repository of files, often the files for the source code of computer pro...

Read More >

Memory Management in iOS

Memory Management iOS In this blog we will walk through very important thing which all iOS developer...

Read More >

How to build a client side Repeater Using jQuery and ASP.NET AJAX

jTemplate is a template engine plug-in for jQuery and is commonly used to display tabular data ...

Read More >

Software Testing

vinay.ramamurthy

Read More >

Instructions for configuring the VS2010 Virtual image in Windows Virtual PC (Windows 7)

Instructions for setting up VS2010 Hands-on labs:Minimum Hardware requirements: Processor :  &n...

Read More >

Microsoft Azure : Machine Learning - Price Prediction

We'll create linear regression model that predicts price of automobile based on different variab...

Read More >

How to pass Images from Report Body to Header/Footer in RDLC

When using SetData and GetData functions to pass data from report body to report header/footer we ca...

Read More >

How to Set Up Selenium WebDriver in Visual Studio Enterprise 2015?

Pre-requisite : Visual Studio Enterprise 2015 application should be installed into the system.Create...

Read More >

How to implement and use Extension Methods in C#

Do you wish to extend the built-in types with new methods?Want to extend custom types with new metho...

Read More >

Share

Try DevOpSmartBoard Ultimate complete Azure DevOps End-to end reporting tool

Sign Up

  • Recent
  • Popular
  • Tag
Monthly Archive
Subscribe
Name

Text/HTML
Contact Us
  • *
  • *