Skip to content

Commit 752bfae

Browse files
Update action.yml
1 parent 551ef93 commit 752bfae

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

action.yml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,19 @@ runs:
4141
- uses: ruby/[email protected]
4242
with:
4343
ruby-version: 2.7 # Not needed with a .ruby-version file
44-
bundler-cache: true
45-
working-directory: ${{ github.action_path }}
4644

47-
# - name: Bundle Install
48-
# run: |
49-
# bundle install --jobs 4 --retry 3
50-
# working-directory: ${{ github.action_path }}
51-
# shell: bash
45+
- name: Cache Ruby Gems
46+
uses: actions/cache@v2
47+
with:
48+
path: ${{ github.action_path }}
49+
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
50+
restore-keys: ${{ runner.os }}-gems-
51+
52+
- name: Bundle Install
53+
run: |
54+
bundle install --jobs 4 --retry 3
55+
working-directory: ${{ github.action_path }}
56+
shell: bash
5257

5358
- run: |
5459
ruby entrypoint.rb

0 commit comments

Comments
 (0)