Forrest logo
back to the gh tool

gh-run:tldr:ffb22

gh-run: Display information about the steps of a job.
$ gh run view --job=${job_number}
try on your machine

The command gh run view --job=${job_number} is used to view the details of a specific job within a workflow run in GitHub Actions.

Here's how the different parts of the command work:

  • gh run view: This is the main command that allows you to view the details of a run.
  • --job=${job_number}: This is an argument passed to the gh run view command. ${job_number} is a placeholder that needs to be replaced with the actual number of the job you want to view.

When you run this command with the correct job number, it will display information about that particular job in the output. This information typically includes the job ID, status, duration, and any associated logs or artifacts.

GitHub Actions workflows often consist of multiple jobs, and this command helps you to focus on a specific job and monitor its progress or investigate any issues.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the gh tool