Skip to content

Commit b155d32

Browse files
jasonginmchammer01
andauthored
Clarify artifacts vs caching guidance (#62030)
Co-authored-by: mc <42146119+mchammer01@users.noreply.github.com>
1 parent 3794bc5 commit b155d32

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

data/reusables/actions/comparing-artifacts-caching.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22

33
Artifacts and caching are similar because they provide the ability to store files on {% data variables.product.prodname_dotcom %}, but each feature offers different use cases and cannot be used interchangeably.
44

5-
* Use caching when you want to reuse files that don't change often between jobs or workflow runs, such as build dependencies from a package management system.
6-
* Use artifacts when you want to save files produced by a job to view after a workflow run has ended, such as built binaries or build logs.
5+
* Use caching when you want to reuse files that don't change often between workflow runs, such as dependencies downloaded by a package management system, intermediate build outputs, or other files that are expensive to regenerate. Caching these files can speed up your workflow runs, though a job should always be able to re-download or regenerate these files if a cache isn't available.
6+
* Use artifacts when you want to save files produced by a job to use or view after a workflow run has ended, such as built binaries or build logs, or when you want to pass files between jobs in a workflow.

0 commit comments

Comments
 (0)