Retrieve the correct logs and build artifacts
Locate the precise run and retry, distinguish its logs from uploaded files and check access and expiry before reuse.
A reviewer downloads the wrong build
Papers A and B both produced dist.zip from the same branch on Monday. Only B includes the approved accessibility fix. What should the reviewer record before signing off?
Work through the decision
Start with the approved commit and locate its run ID and attempt. Download that run's named artifact and check its digest. Record the association between revision, run and artifact. A filename or branch name alone leaves both builds possible.
Find the run and its evidence
Identify the exact run ID, attempt and job in the Actions tab. Expand step logs or use authenticated API endpoints for the relevant repository and run. Logs contain execution messages, while artifacts are files a workflow explicitly uploads.
For an authorized repository, gh run view RUN_ID --attempt 1 --log-failed requests the failed steps of the initial attempt. gh run download RUN_ID -n dist selects the artifact named dist from that run. Preserve the digest associated with the approved revision when retries or repeated names could confuse the selection.
Retain the right build files
Retrieve artifacts from the run that produced them and verify names, revision and expiry. Downloading requires the appropriate repository access. Expired or deleted outputs may require rebuilding from controlled inputs. A newer artifact with the same name can contain different bytes.
The missing screenshot
The UI lists the run but there is no screenshot under Artifacts. The test job failed halfway through. Which two checks distinguish an expired upload from one that never happened?
Check your reasoning
Look at the upload step status and its file-match messages first. If upload succeeded, check retention, expiry and the viewer's access. If the step was skipped, decide whether failure diagnostics should use an explicit condition in the workflow.
GitHub documentation · GH-200 skills outline
Continue in GitHub Foundations. Move a support conversation through issue and review.
Retrieve the correct logs and build artifacts quiz
Answer 5 questions. Check each answer for an explanation.