Skip to main content

Command Palette

Search for a command to run...

[Quicky] Github Action: cache Ruby's gems

Updated
1 min read
[Quicky] Github Action: cache Ruby's gems
T

10+ years most with Ruby on Rails and JavaScript frontend and some Go. My first language is C for 3 years in university.

You just need bundler-cache: true

# .github/workflows/my_very_special_job.yml
jobs:
  my_very_special_job:
    steps:
      - name: Setup Ruby
        uses: ruby/setup-ruby@v1
        with:
          bundler-cache: true    ###### That's the line

More from this blog

Thomas Brennetot

21 posts

10+ years experienced software engineer living in Tokyo.

[Quicky] Github Action: cache Ruby's gems