Skip to content

Commit

Permalink
Expose Rails version in ENV
Browse files Browse the repository at this point in the history
  • Loading branch information
koppen committed Jun 2, 2023
1 parent cf50ecf commit 97787ab
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ jobs:
rails-version: ['5.2.5', '6.0.3.6', '6.1.3.1', 'main']
ruby-version: ['2.5', '2.6', '2.7', '3.0']

env:
RAILS_VERSION: ${{ matrix.rails-version }}

steps:
- uses: actions/checkout@v3
- name: Set up Ruby
Expand All @@ -33,7 +36,6 @@ jobs:
# uses: ruby/setup-ruby@v1
uses: ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf # v1.146.0
with:
rails-version: ${{ matrix.rails-version }}
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Run tests
Expand Down

0 comments on commit 97787ab

Please sign in to comment.