-
Notifications
You must be signed in to change notification settings - Fork 693
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,9 +19,8 @@ jobs: | |
uses: actions/cache@v3 | ||
with: | ||
path: ~/gems | ||
key: gems-3.2-${{ hashFiles('*.gemspec', 'Gemfile') }}-${{ github.sha }} | ||
key: gems-3.2-${{ hashFiles('*.gemspec', 'Gemfile') }} | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
pointlessone
Author
Member
|
||
restore-keys: | | ||
gems-3.2-${{ hashFiles('*.gemspec', 'Gemfile') }}- | ||
gems-3.2- | ||
- name: Install dependencies | ||
run: | | ||
|
@@ -59,9 +58,8 @@ jobs: | |
uses: actions/cache@v3 | ||
with: | ||
path: ~/gems | ||
key: gems-${{ matrix.ruby }}-${{ hashFiles('*.gemspec', 'Gemfile') }}-${{ github.sha }} | ||
key: gems-${{ matrix.ruby }}-${{ hashFiles('*.gemspec', 'Gemfile') }} | ||
restore-keys: | | ||
gems-${{ matrix.ruby }}-${{ hashFiles('*.gemspec', 'Gemfile') }}- | ||
gems-${{ matrix.ruby }}- | ||
- name: Install dependencies | ||
run: | | ||
|
If you add
bundler-cache: true
to setup-ruby'swith
section it will handle the gem cache and install dependencies steps for you. https://github.com/ruby/setup-ruby#caching-bundle-install-automatically