Skip to content

Commit

Permalink
Set .env earlier
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanwi authored Dec 15, 2023
1 parent 0f86b5a commit 4e41550
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/actions/test-ruby/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,13 @@ runs:
restore-keys: |
${{ runner.os }}-gems-
- name: .env for CI
if: inputs.ENV_PATH != null
run: cp $ENV_PATH .env
shell: bash
env:
ENV_PATH: ${{ inputs.ENV_PATH }}

- name: Run zeitwerk chek
if: inputs.ZEITWERK == 'true'
run: |
Expand Down Expand Up @@ -96,13 +103,6 @@ runs:
< reviewdog-report.json
shell: bash

- name: .env for CI
if: inputs.ENV_PATH != null
run: cp $ENV_PATH .env
shell: bash
env:
ENV_PATH: ${{ inputs.ENV_PATH }}

- name: Split the input variable RUBY_RAKE_COMMANDS into an array and execute
if: inputs.RUBY_RAKE_COMMANDS != null
env:
Expand Down

0 comments on commit 4e41550

Please sign in to comment.