Skip to content

Commit 9f38d57

Browse files
Laura Gerhardtlucascosti
andauthored
reference ruby/setup-ruby for cache (#2464)
Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>
1 parent 34e7eab commit 9f38d57

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

content/actions/guides/caching-dependencies-to-speed-up-workflows.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Workflow runs often reuse the same outputs or downloaded dependencies from one r
2222

2323
Jobs on {% data variables.product.prodname_dotcom %}-hosted runners start in a clean virtual environment and must download dependencies each time, causing increased network utilization, longer runtime, and increased cost. To help speed up the time it takes to recreate these files, {% data variables.product.prodname_dotcom %} can cache dependencies you frequently use in workflows.
2424

25-
To cache dependencies for a job, you'll need to use {% data variables.product.prodname_dotcom %}'s `cache` action. The action retrieves a cache identified by a unique key. For more information, see [`actions/cache`](https://github.com/actions/cache).
25+
To cache dependencies for a job, you'll need to use {% data variables.product.prodname_dotcom %}'s `cache` action. The action retrieves a cache identified by a unique key. For more information, see [`actions/cache`](https://github.com/actions/cache). If you are caching Ruby gems, instead consider using the Ruby maintained action, which can cache bundle installs on initiation. For more information, see [`ruby/setup-ruby`](https://github.com/ruby/setup-ruby#caching-bundle-install-automatically).
2626

2727
{% warning %}
2828

0 commit comments

Comments
 (0)