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

Locking VMs and Resources Groups with Azure Resource Manager using Azure PowerShell

Hello Folks!In this blog post we will be talking about locking down your Azure Resources with Azure ...

Read More >

Webinar - The process of version migration from older versions of Navision to NAV 2013 R2

Please watch LIVE RECORDING Video of the webinar session below which took place on 5th Jun...

Read More >

Unit Test in C# (Xamarin Forms)

Unit Test are important for a good quality and maintainable code.it help to find error in our code i...

Read More >

Software Services

The whole world has come to realize the role played by Information Technology and looking at ways to...

Read More >

TFS 2013 Build Template Customization

How to enable logging verbosity process parameter in build definition?Verbosity for a build will hel...

Read More >

Dynamics Team commences work on NAV Version Migration for a prestigious client in Malaysia

Canarys Dynamics Team is all excited and geared up to commence work on NAV Version Migration project...

Read More >

Introduction to Reusable Workflows

Avoid Duplication! GitHub Actions Reusable Workflows. Thanks to this feature you can now reference a...

Read More >

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 >

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