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);