From 1d2cdca97984d084f9f536c02d177f96007da4bb Mon Sep 17 00:00:00 2001 From: Paul Meyer <49727155+katexochen@users.noreply.github.com> Date: Fri, 24 Feb 2023 16:26:25 +0100 Subject: [PATCH] ci: fix quoting of versionsapi flags Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com> --- .github/actions/versionsapi/action.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/actions/versionsapi/action.yml b/.github/actions/versionsapi/action.yml index 8325a5c6d..6dec18d24 100644 --- a/.github/actions/versionsapi/action.yml +++ b/.github/actions/versionsapi/action.yml @@ -62,10 +62,10 @@ runs: out=$( ./versionsapi \ ${{ inputs.command }} \ - ${{ inputs.ref != '' && format('--ref={0}', inputs.ref) || '' }} \ - ${{ inputs.stream != '' && format('--stream={0}', inputs.stream) || '' }} \ - ${{ inputs.version != '' && format('--version={0}', inputs.version) || '' }} \ - ${{ inputs.version_path != '' && format('--version-path={0}', inputs.version_path) || '' }} \ + ${{ inputs.ref != '' && format('--ref="{0}"', inputs.ref) || '' }} \ + ${{ inputs.stream != '' && format('--stream="{0}"', inputs.stream) || '' }} \ + ${{ inputs.version != '' && format('--version="{0}"', inputs.version) || '' }} \ + ${{ inputs.version_path != '' && format('--version-path="{0}"', inputs.version_path) || '' }} \ ${{ inputs.add_latest == 'true' && '--latest' || '' }} \ ${{ inputs.add_release == 'true' && '--release' || '' }} \ ${{ inputs.rm_all == 'true' && '--all' || '' }} \