Skip to content

Commit a090963

Browse files
committed
Fix caching link in ruby article for GHES
1 parent 2ca2698 commit a090963

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

content/actions/guides/building-and-testing-ruby.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ steps:
148148

149149
#### Caching dependencies
150150

151-
The `setup-ruby` actions provides a method to automatically handle the caching of your gems between runs.
151+
If you are using {% data variables.product.prodname_dotcom %}-hosted runners, the `setup-ruby` actions provides a method to automatically handle the caching of your gems between runs.
152152

153153
To enable caching, set the following.
154154

@@ -165,7 +165,7 @@ This will configure bundler to install your gems to `vendor/cache`. For each suc
165165

166166
**Caching without setup-ruby**
167167

168-
For greater control over caching, you can use the `actions/cache` Action directly. For more information, see "[Caching dependencies to speed up your workflow](/actions/automating-your-workflow-with-github-actions/caching-dependencies-to-speed-up-workflows)."
168+
For greater control over caching, if you are using {% data variables.product.prodname_dotcom %}-hosted runners, you can use the `actions/cache` Action directly. For more information, see "<a href="/actions/guides/caching-dependencies-to-speed-up-workflows" class="dotcom-only">Caching dependencies to speed up workflows</a>."
169169

170170
{% raw %}
171171
```yaml

0 commit comments

Comments
 (0)