1
0
mirror of synced 2026-06-29 23:00:48 +00:00

Add quotes to shell vars

Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
This commit is contained in:
Matheus Pimenta
2026-06-29 10:02:54 +01:00
parent c888f28b2c
commit 8daa9b9ddf
+3 -3
View File
@@ -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