From 8daa9b9ddfc5d36c70eddd1052241ed34e39bd6d Mon Sep 17 00:00:00 2001 From: Matheus Pimenta Date: Mon, 29 Jun 2026 10:02:54 +0100 Subject: [PATCH] Add quotes to shell vars Signed-off-by: Matheus Pimenta --- action/action.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/action/action.yml b/action/action.yml index 3daa1ef9..c9ce9acd 100644 --- a/action/action.yml +++ b/action/action.yml @@ -195,15 +195,15 @@ runs: ARCH: ${{ steps.setup-flux-bin.outputs.arch }} run: | # Use a default plugin directory when plugin-dir was not provided. - if [[ -z $FLUXCD_PLUGINS ]] then + if [[ -z "$FLUXCD_PLUGINS" ]]; then FLUXCD_PLUGINS="${RUNNER_TOOL_CACHE}/flux2/${VERSION}/${OS}/${ARCH}/plugins/" fi # Export it so subsequent steps can discover the installed plugins. - echo FLUXCD_PLUGINS="$FLUXCD_PLUGINS" >> $GITHUB_ENV + echo "FLUXCD_PLUGINS=$FLUXCD_PLUGINS" >> "$GITHUB_ENV" # Create the directory if it does not exist. - mkdir -p $FLUXCD_PLUGINS + mkdir -p "$FLUXCD_PLUGINS" - name: "Install Plugins" shell: bash