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

Implementing Azure DevSecOps with Microsoft Credential Scanner

Let’s look at CredScan which is a Microsoft Code Analysis extension and it is abbreviated as MSCA i...

Read More >

Building Xamarin.Android application in C#

OverviewIn this article we’ll look at how to create, deploy, and run a Xamarin.Android applica...

Read More >

Accelerating Digital Transformation with GitHub

Hi All, in this blog I would like to share few insights on how you can leverage GitHub for your deve...

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 >

Business Process Testing Framework in QTP

Business Process Testing Framework Business Process Testing (BPT) is the core integration of QT...

Read More >

How to use TFS 2012 Team Build for Visual Basic 6

Here is a process to build your VB6 projects in Team foundation Server 2012. 1. Have a copy of ...

Read More >

Ansible Playbooks

Playbooks are nothing but files consisting of your written code, and they are written in YAML langua...

Read More >

Extent Reports in Selenium CSharp (C#)

Reports play a fundamental role when it comes to TESTING. Tester can now  know the real-time r...

Read More >

Introduction to KnockOut.Js in Asp.Net

What is KnockOut.Js?Knockout.Js (simply KO) is a powerful JavaScript library which allows developers...

Read More >

Time to Rock. Time for Our TechEd 2012 Rockstar.

Our Senior ALM specialist Sanjeev Kumar was awarded TechEd Rockstar in the Microsoft TechEd (March 2...

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
  • *
  • *