Automation · GitHub Actions
Artifacts
Cheat sheet · https://pcornel.dk/topic.php?topic=5529
Answer
Artifacts in GitHub Actions are files saved from a job with actions/upload-artifact and downloaded in later jobs or from the run page, such as build outputs or test reports, with a retention period.
Remember
- upload-artifact and download-artifact.
- Retention period applies.
- Artifacts are visible to repo readers.
First checks
gh run download <run-id>— download artefacts- actions/upload-artifact retention-days — retention
- Artefact contents (no secrets) — safety
Verify in this order
job → upload artefact → download in job/user
Where it usually breaks
Input/desired state → request accepted → job/task terminal status → target object read-back → effective runtime state → original workload → regression/rollback readiness.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5529