helaili / jekyll-action

A GitHub Action to publish Jekyll based content as a GitHub Pages site
MIT License
250 stars 120 forks source link

Support actions/cache #22

Closed yous closed 4 years ago

yous commented 4 years ago

From actions/cache's examples for Bundler:

- uses: actions/cache@v1
  with:
    path: vendor/bundle
    key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
    restore-keys: |
      ${{ runner.os }}-gems-
- name: Bundle install
  run: |
    bundle config path vendor/bundle
    bundle install --jobs 4 --retry 3
helaili commented 4 years ago

Thanks @yous, this improvement just got merged through #17

yous commented 4 years ago

Nice! Thanks for the notice.