Skip to content

Commit cb1857e

Browse files
committed
Set up ruby and rubygems different for ruby 2.5
1 parent 319ce2a commit cb1857e

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,13 @@ jobs:
4444
- uses: actions/checkout@v3
4545
- name: Set up Ruby ${{ matrix.ruby }}
4646
uses: ruby/setup-ruby@v1
47+
if: matrix.ruby == '2.5'
48+
with:
49+
ruby-version: ${{ matrix.ruby }}
50+
bundler-cache: true # 'bundle install' and cache
51+
- name: Set up Ruby ${{ matrix.ruby }}
52+
uses: ruby/setup-ruby@v1
53+
if: matrix.ruby != '2.5'
4754
with:
4855
ruby-version: ${{ matrix.ruby }}
4956
bundler-cache: true # 'bundle install' and cache

0 commit comments

Comments
 (0)