Skip to content

Commit

Permalink
try new bundle cache
Browse files Browse the repository at this point in the history
  • Loading branch information
Dana Merrick committed Dec 1, 2024
1 parent b5964ff commit b425cb6
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,20 @@ jobs:
with:
#TODO: bring this back to 2.7
ruby-version: '2.6'
#bundler-cache: true # runs 'bundle install' and caches installed gems automatically
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- uses: actions/checkout@v2
- uses: actions/[email protected]
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gems-
- name: Install Gems
run: |
# use a bundler that supports our ancient ruby
gem install bundler -v 2.4.22
bundle config path vendor/bundle
bundle install --jobs 4 --retry 3
# - uses: actions/[email protected]
# with:
# path: vendor/bundle
# key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
# restore-keys: |
# ${{ runner.os }}-gems-
# - name: Install Gems
# run: |
# # use a bundler that supports our ancient ruby
# gem install bundler -v 2.4.22
# bundle config path vendor/bundle
# bundle install --jobs 4 --retry 3
- run: echo $ENV
- name: Attempt to build the static site
run: bundle exec middleman build --bail
Expand Down

0 comments on commit b425cb6

Please sign in to comment.