From 44674e6999251b1d16e4cbe8cd6a45d3260b2f19 Mon Sep 17 00:00:00 2001 From: Nicholas Wallace Date: Sun, 10 Mar 2024 09:22:42 -0700 Subject: [PATCH] Updated to use environment variable again --- compile.sh | 0 copy_keys.js | 2 +- dist/index.js | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 compile.sh diff --git a/compile.sh b/compile.sh old mode 100644 new mode 100755 diff --git a/copy_keys.js b/copy_keys.js index e70b08b..af19692 100644 --- a/copy_keys.js +++ b/copy_keys.js @@ -68,7 +68,7 @@ function updateJSONFiles(baseFileName, directory) { try { const baseFileName = 'en-us.json'; - const directory = core.get_input('directory'); + const directory = process.env.DIRECTORY; // Example usage: const resultCode = updateJSONFiles(baseFileName, directory); diff --git a/dist/index.js b/dist/index.js index 1ca3295..3766c7d 100644 --- a/dist/index.js +++ b/dist/index.js @@ -30932,7 +30932,7 @@ function updateJSONFiles(baseFileName, directory) { try { const baseFileName = 'en-us.json'; - const directory = core.get_input('directory'); + const directory = process.env.DIRECTORY; // Example usage: const resultCode = updateJSONFiles(baseFileName, directory);