From 7c4ff860e3d28cffdba9771e4f46a144e7578089 Mon Sep 17 00:00:00 2001 From: Daniel Scherzer Date: Sun, 11 Aug 2024 10:46:54 -0700 Subject: [PATCH] Quoted --- action.yml | 2 +- deps.sh | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/action.yml b/action.yml index e2db470..d26f16a 100644 --- a/action.yml +++ b/action.yml @@ -65,7 +65,7 @@ runs: path: mediawiki/${{ inputs.type }}s/${{ inputs.extension }} - name: Install dependencies - run: bash $GITHUB_ACTION_PATH/deps.sh ${{ inputs.dependencies }} ${{ fromJSON( inputs.dependencies ) }} + run: bash $GITHUB_ACTION_PATH/deps.sh "${{ inputs.dependencies }}" shell: bash - name: Composer updates diff --git a/deps.sh b/deps.sh index 1a68426..e000020 100644 --- a/deps.sh +++ b/deps.sh @@ -3,10 +3,9 @@ set -o pipefail DEPENDENCIES=$1 -FORMATTED=$1 echo -e "1:" -echo -e $DEPENDENCIES +echo -e "$DEPENDENCIES" -echo -e "2:" -echo -e $FORMATTED +echo $(pwd) +echo $(ls) \ No newline at end of file