Reader small image

You're reading from  Mastering GitHub Actions

Product typeBook
Published inMar 2024
PublisherPackt
ISBN-139781805128625
Edition1st Edition
Concepts
Right arrow
Author (1)
Eric Chapman
Eric Chapman
author image
Eric Chapman

Eric Chapman holds the position of Senior Delivery and Engineering Manager at a leading retailer in home improvement and trade in Australia and New Zealand. He primarily oversees integration, encompassing platforms such as API Gateway, EventMesh, authorization systems, developer portals, and extract, transform and load (ETL) platforms. Eric leads a team with a broad range of responsibilities and skills, overseeing all business areas. Previously, Eric and his team were instrumental in designing and developing an in-house point-of-sale system. This singular application accommodated four countries' tax and auditing requirements, supported multiple payment processing gateways, and incorporated a range of unique market-leading features.
Read more about Eric Chapman

Right arrow

Debugging techniques for workflows

The debugging capabilities in workflows could be better. However, they are not nonexistent; there are some tools available, some handy debugging actions, and some useful environment variables to use when debugging. The first one we’ll jump into is the act tool, which helps you manage your workflows.

act workflow debugging tool

If the prerequisites and the installation of the tool were successful, you should be able to go into the root directory of a repository cloned previously that has been authenticated with the account that the Personal Access Token (PAT) was created under, and type the following command, which will list all the workflows in that repository:

 gh act -l

This will give you a view similar to that in the following screenshot:

Figure 3.16 – Successful run of act on a repo

Figure 3.16 – Successful run of act on a repo

If you receive an error, verify that your Docker daemon is running on the installed Docker Desktop. Docker has...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Mastering GitHub Actions
Published in: Mar 2024Publisher: PacktISBN-13: 9781805128625

Author (1)

author image
Eric Chapman

Eric Chapman holds the position of Senior Delivery and Engineering Manager at a leading retailer in home improvement and trade in Australia and New Zealand. He primarily oversees integration, encompassing platforms such as API Gateway, EventMesh, authorization systems, developer portals, and extract, transform and load (ETL) platforms. Eric leads a team with a broad range of responsibilities and skills, overseeing all business areas. Previously, Eric and his team were instrumental in designing and developing an in-house point-of-sale system. This singular application accommodated four countries' tax and auditing requirements, supported multiple payment processing gateways, and incorporated a range of unique market-leading features.
Read more about Eric Chapman