Skip to content

Commit d1a6e68

Browse files
committed
Add cache to source build
1 parent a45639c commit d1a6e68

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/middleman_deploy.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,16 @@ jobs:
3737
uses: ruby/setup-ruby@v1
3838
with:
3939
ruby-version: '3.3'
40+
- name: Setup bundler cache
41+
uses: actions/cache@v3
42+
with:
43+
key: ${{ runner.os }}-bundler-${{ hashFiles('Gemfile.lock') }}
44+
path: .bundle/gems
45+
- name: Setup build cache
46+
uses: actions/cache@v3
47+
with:
48+
key: ${{ runner.os }}-source-build
49+
path: __source_build
4050
- name: Install dependencies
4151
run: bundle install
4252
- name: Build with Middleman

0 commit comments

Comments
 (0)