From 9c4fe93652a30c96f3684b4be6646ca46cdb2fc5 Mon Sep 17 00:00:00 2001 From: Nick Charlton Date: Tue, 19 Nov 2024 15:59:35 +0000 Subject: [PATCH] Try using the right syntax --- .github/workflows/main.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 223941385..baf083980 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -80,15 +80,21 @@ jobs: with: cache: yarn - name: Install Ruby dependencies - run: BUNDLE_GEMFILE=gemfiles/${{ matrix.appraisal }}.gemfile bundle install + run: bundle install + env: + BUNDLE_GEMFILE: gemfiles/${{ matrix.appraisal }}.gemfile - name: Install JS dependencies run: yarn install - name: Setup the environment run: cp .sample.env .env - run: cp spec/example_app/config/database.yml.sample spec/example_app/config/database.yml - name: Setup the database - run: BUNDLE_GEMFILE=gemfiles/${{ matrix.appraisal }}.gemfile bundle exec rake db:setup + run: bundle exec rake db:setup + env: + BUNDLE_GEMFILE: gemfiles/${{ matrix.appraisal }}.gemfile - name: Build assets run: yarn run build && yarn run build:css - name: Run tests - run: BUNDLE_GEMFILE=gemfiles/${{ matrix.appraisal }}.gemfile bundle exec rspec + run: bundle exec rspec + env: + BUNDLE_GEMFILE: gemfiles/${{ matrix.appraisal }}.gemfile