Skip to content

Commit

Permalink
Handle node_options in setenv
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Potter committed Nov 20, 2023
1 parent 59dfc1e commit 971ad25
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion actions/load-env/action.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
name: "Load environment"
description: "Load environment variables"

outputs:
node_options: ${{ steps.source-env.outputs.node_options }}

runs:
using: "composite"
steps:
- name: Load .env variables
id: source-env
if: ${{ hashFiles('.env') != '' }}
uses: c-py/action-dotenv-to-setenv@v4
uses: c-py/action-dotenv-to-setenv@v5
with:
env-file: .env
- name: Update config/cache paths
Expand Down

0 comments on commit 971ad25

Please sign in to comment.