From a371dec5d3b998b73bd819f26d1419645453cf83 Mon Sep 17 00:00:00 2001 From: Dunemask Date: Thu, 15 Feb 2024 18:04:03 -0700 Subject: [PATCH] [FEATURE] Auto Oasis Test --- action.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 05e88a0..f39a850 100644 --- a/action.yml +++ b/action.yml @@ -25,21 +25,26 @@ runs: curl -s -L https://github.com/Infisical/infisical/releases/download/infisical-cli%2Fv0.16.10/infisical_0.16.10_linux_amd64.tar.gz | tar xvz # Get paths and envs into list + + echo "Barely here" paths="${{ inputs.secret-paths }}" envs="${{ inputs.secret-envs }}" + echo "Got splt" + path_list=( $(echo $paths | sed "s/,/ /g") ) env_list=( $(echo $envs | sed "s/,/ /g") ) path_len=${#path_list[@]} env_len=${#env_list[@]} + echo "Got B4" # Ensure lengths match if [ "$path_len" != "$env_len" ]; then echo "Input must match the output!" exit 1; fi - + echo "Got here" # For each environment for i in "${!path_list[@]}"; do