Skip to content

Commit 9c4fe93

Browse files
committed
Try using the right syntax
1 parent ab2d22e commit 9c4fe93

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/main.yml

+9-3
Original file line numberDiff line numberDiff line change
@@ -80,15 +80,21 @@ jobs:
8080
with:
8181
cache: yarn
8282
- name: Install Ruby dependencies
83-
run: BUNDLE_GEMFILE=gemfiles/${{ matrix.appraisal }}.gemfile bundle install
83+
run: bundle install
84+
env:
85+
BUNDLE_GEMFILE: gemfiles/${{ matrix.appraisal }}.gemfile
8486
- name: Install JS dependencies
8587
run: yarn install
8688
- name: Setup the environment
8789
run: cp .sample.env .env
8890
- run: cp spec/example_app/config/database.yml.sample spec/example_app/config/database.yml
8991
- name: Setup the database
90-
run: BUNDLE_GEMFILE=gemfiles/${{ matrix.appraisal }}.gemfile bundle exec rake db:setup
92+
run: bundle exec rake db:setup
93+
env:
94+
BUNDLE_GEMFILE: gemfiles/${{ matrix.appraisal }}.gemfile
9195
- name: Build assets
9296
run: yarn run build && yarn run build:css
9397
- name: Run tests
94-
run: BUNDLE_GEMFILE=gemfiles/${{ matrix.appraisal }}.gemfile bundle exec rspec
98+
run: bundle exec rspec
99+
env:
100+
BUNDLE_GEMFILE: gemfiles/${{ matrix.appraisal }}.gemfile

0 commit comments

Comments
 (0)