Skip to content

Commit

Permalink
Add Ruby Gem example (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kosuke Ogawa authored and Josh Gross committed Oct 31, 2019
1 parent 889c603 commit 7611296
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,16 @@ jobs:
key: ${{ runner.os }}-maven
```
### Ruby - Gem
```yaml
- uses: actions/cache@preview
with:
path: vendor/bundle
key: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gem-
```
## Cache Limits
Individual caches are limited to 200MB and a repository can have up to 2GB of caches. Once the 2GB limit is reached, older caches will be evicted based on when the cache was last accessed.
Expand Down

0 comments on commit 7611296

Please sign in to comment.