From 971ad2559f0769c118c760550b7c3c07ba906b81 Mon Sep 17 00:00:00 2001 From: Mike Potter Date: Mon, 20 Nov 2023 09:56:10 -0800 Subject: [PATCH] Handle node_options in setenv --- actions/load-env/action.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/actions/load-env/action.yml b/actions/load-env/action.yml index d0161e7..0faaffb 100644 --- a/actions/load-env/action.yml +++ b/actions/load-env/action.yml @@ -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