Skip to content

Commit

Permalink
Restore cache
Browse files Browse the repository at this point in the history
  • Loading branch information
TonyCTHsu committed Nov 12, 2024
1 parent 8bf7a1d commit c240019
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,13 @@ step_appraisal_install: &step_appraisal_install
run:
name: Install Appraisal gems
command: |
bundle exec appraisal generate
bundle exec rake dependency:install
if [ "$CI_BUNDLE_CACHE_HIT" != 1 ]; then
bundle exec appraisal generate
bundle exec rake dependency:install
else
bundle exec appraisal generate
echo "All required gems were found in cache."
fi
step_compute_bundle_checksum: &step_compute_bundle_checksum
run:
name: Compute bundle checksum
Expand Down

0 comments on commit c240019

Please sign in to comment.