mirror of
https://github.com/fluxcd/flux2.git
synced 2026-07-02 11:55:08 +00:00
Add quotes to shell vars
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
This commit is contained in:
parent
c888f28b2c
commit
8daa9b9ddf
1 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue