Skip to main content
  • Book
  • © 2021

Hands-on GitHub Actions

Implement CI/CD with GitHub Action Workflows for Your Applications

Apress
  • Includes hands-on lessons to build GitHub Actions
  • Contains detailed guidelines on syntax and feature usage
  • Consists of sample implementations to get you started

Buy it now

Buying options

eBook USD 34.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 44.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (10 chapters)

  1. Front Matter

    Pages i-xvi
  2. Introduction to GitHub Actions

    • Chaminda Chandrasekara, Pushpa Herath
    Pages 1-8
  3. Getting Started with GitHub Actions Workflows

    • Chaminda Chandrasekara, Pushpa Herath
    Pages 9-28
  4. Variables

    • Chaminda Chandrasekara, Pushpa Herath
    Pages 29-39
  5. Secrets and Tokens

    • Chaminda Chandrasekara, Pushpa Herath
    Pages 41-50
  6. Artifacts and Caching Dependencies

    • Chaminda Chandrasekara, Pushpa Herath
    Pages 51-61
  7. Using Self-Hosted Runners

    • Chaminda Chandrasekara, Pushpa Herath
    Pages 63-80
  8. Package Management

    • Chaminda Chandrasekara, Pushpa Herath
    Pages 81-101
  9. Service Containers

    • Chaminda Chandrasekara, Pushpa Herath
    Pages 103-116
  10. Creating Custom Actions

    • Chaminda Chandrasekara, Pushpa Herath
    Pages 117-140
  11. A Few Tips and a Mobile Build Example

    • Chaminda Chandrasekara, Pushpa Herath
    Pages 141-158
  12. Back Matter

    Pages 159-162

About this book

Implement continuous integration/continuous delivery (CI/CD) workflows for any application you develop through GitHub Actions. This book will give you an in-depth idea of implementation patterns, solutions for different technology builds, guidelines to implement your own custom components as actions, and usage of features available with GitHub Actions workflows, to set up CI/CD for your repositories. 

Hands-on GitHub Actions starts with an introduction to GitHub actions that gives an overview on CI/CD followed by an introduction to its workflows. Next, you will learn how to use variables in a GitHub workflow along with tokens via a REST API. Further, you will explore artifacts and caching dependencies in GitHub and use artifacts in subsequent jobs. Using self-hosted runners is discussed next where you will set up your own hardware and software to run GitHub actions. You will go through publishing packages and migrate to Azure DevOps Pipelines. Along the way, youwill use Redis service and PostgreSQL service containers and create custom actions. Finally, you will work with GitHub apps and understand the syntax reference for GitHub Actions and workflows.  

What You Will Learn

  • Create workflows for any platform and any language with GitHub Actions
  • Develop custom GitHub actions to enhance features and usage of database and service containers
  • Use hosted runners and create self-hosted runners for GitHub workflows
  • Use GitHub Package registry with GitHub Actions to share and use packages

Who This Book Is For 

DevOps teams who want to build quality CI/CD workflows.

Authors and Affiliations

  • Dedigamuwa, Sri Lanka

    Chaminda Chandrasekara

  • Hanguranketha, Sri Lanka

    Pushpa Herath

About the authors

Chaminda Chandrasekara is a Microsoft Most Valuable Professional (MVP) for Visual Studio ALM and Scrum Alliance Certified ScrumMaster®, and focuses on and believes in continuous improvement of the software development life cycle. He is the Cloud Development and DevOps Architect at eKriegers (Pvt) Ltd. Chaminda is an active Microsoft Community Contributor (MCC) who is well recognized for his contributions in Microsoft forums, TechNet galleries, wikis, and Stack Overflow and he contributes extensions to Azure DevOps Server and Services (former VSTS/TFS) in the Microsoft Visual Studio Marketplace. He also contributes to other open source projects in GitHub. Chaminda has published six books with Apress.

Pushpa Herath is a Microsoft Most Valuable Professional (MVP) working as a Senior DevOps Engineer at 99x. She has many years of experience in Azure DevOps Server and Services (formerly VSTS/TFS), Azure cloud platform and QA Automation. She is an expert in DevOps currently leading Sri Lanka DevOps community, and she has shown in depth knowledge in Azure cloud platform tools in her community activities. She has published four books with Apress and spoken in community evets as well as in the youtube channel of her Sri Lanka DevOps community. Pushpa blogs on technology at DevOps Adventure.

Bibliographic Information

  • Book Title: Hands-on GitHub Actions

  • Book Subtitle: Implement CI/CD with GitHub Action Workflows for Your Applications

  • Authors: Chaminda Chandrasekara, Pushpa Herath

  • DOI: https://doi.org/10.1007/978-1-4842-6464-5

  • Publisher: Apress Berkeley, CA

  • eBook Packages: Professional and Applied Computing, Apress Access Books, Professional and Applied Computing (R0)

  • Copyright Information: Chaminda Chandrasekara and Pushpa Herath 2021

  • Softcover ISBN: 978-1-4842-6463-8Published: 23 February 2021

  • eBook ISBN: 978-1-4842-6464-5Published: 22 February 2021

  • Edition Number: 1

  • Number of Pages: XVI, 162

  • Number of Illustrations: 102 b/w illustrations

  • Topics: Microsoft and .NET

Buy it now

Buying options

eBook USD 34.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 44.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access