Skip to content

Commit

Permalink
CI: Bump solidus-installer cache key
Browse files Browse the repository at this point in the history
We updated to Rails 7.2 and need to update the
cache version.
  • Loading branch information
tvdeyen committed Oct 30, 2024
1 parent 3c4f57c commit 3c79b76
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,16 +167,16 @@ commands:
cat /tmp/.gems-versions
- restore_cache:
keys:
- solidus-installer-v10-{{ checksum "/tmp/.ruby-versions" }}-{{ checksum "/tmp/.gems-versions" }}
- solidus-installer-v10-{{ checksum "/tmp/.ruby-versions" }}-
- solidus-installer-v11-{{ checksum "/tmp/.ruby-versions" }}-{{ checksum "/tmp/.gems-versions" }}
- solidus-installer-v11-{{ checksum "/tmp/.ruby-versions" }}-
- run:
name: "Prepare the rails application"
command: |
cd /tmp
test -d my_app || (gem install rails -v "< 8.0" && gem install solidus)
test -d my_app || rails new my_app --skip-git
- save_cache:
key: solidus-installer-v10-{{ checksum "/tmp/.ruby-versions" }}-{{ checksum "/tmp/.gems-versions" }}
key: solidus-installer-v11-{{ checksum "/tmp/.ruby-versions" }}-{{ checksum "/tmp/.gems-versions" }}
paths:
- /tmp/my_app
- /home/circleci/.rubygems
Expand Down

0 comments on commit 3c79b76

Please sign in to comment.