Skip to content

Commit

Permalink
#115 Install bundler v2.4 for Ruby v2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
sighmon committed Dec 19, 2023
1 parent e33a391 commit 69773ad
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ jobs:
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby_version }}
- name: Install Bundler 2.4 for Ruby 2.7
if: matrix.ruby_version == '2.7'
run: gem install bundler -v 2.4
- name: Set up Node
uses: actions/setup-node@v3
with:
Expand All @@ -37,8 +40,11 @@ jobs:
env:
RAILS_VERSION: ${{ matrix.rails_version }}
run: |
gem install bundler
bundle install --jobs 4 --retry 3
if [ "${{ matrix.ruby_version }}" = "2.7" ]; then
bundle _2.4_ install --jobs 4 --retry 3
else
bundle install --jobs 4 --retry 3
fi
- name: Install mjml with npm
if: ${{ matrix.package_manager == 'npm' }}
run: npm add mjml
Expand Down

0 comments on commit 69773ad

Please sign in to comment.