Skip to content

Commit

Permalink
bundle-install only on ruby 2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Feb 11, 2021
1 parent 5f993b8 commit 07d7fa1
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/test.yml
Expand Up @@ -22,9 +22,13 @@ jobs:
with:
ruby-version: ${{ matrix.ruby }}
- name: Install
run: bundle install
id: bundle
run: |
bundle install
echo "::set-output name=exec::bundle exec"
if: "matrix.ruby <= '2.1'"
- name: Run test
run: bundle exec rake test
run: ${{steps.bundle.outputs.exec}} rake test
- id: build
run: |
rake build
Expand Down

0 comments on commit 07d7fa1

Please sign in to comment.