Skip to content

Commit

Permalink
Move env vars into steps
Browse files Browse the repository at this point in the history
  • Loading branch information
xjunior committed May 9, 2024
1 parent 9c1fc0b commit c4b7afa
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ruby-gem/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ inputs:

runs:
using: 'composite'
env:
BUNDLE_GEMFILE: '${{ inputs.gemfile }}'
BUNDLER_VERSION: '${{ inputs.bundler }}'
RAILS_ENV: 'test'
steps:
- name: 'Set up Ruby'
uses: ruby/setup-ruby@v1
env:
BUNDLE_GEMFILE: '${{ inputs.gemfile }}'
BUNDLER_VERSION: '${{ inputs.bundler }}'
RAILS_ENV: 'test'
with:
bundler-cache: true
bundler: '${{ inputs.bundler }}'
Expand Down

0 comments on commit c4b7afa

Please sign in to comment.