ci: fix quoting of versionsapi flags

Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
Paul Meyer 2023-02-24 16:26:25 +01:00
parent 7bcd0650a9
commit 1d2cdca979

View File

@ -62,10 +62,10 @@ runs:
out=$( out=$(
./versionsapi \ ./versionsapi \
${{ inputs.command }} \ ${{ inputs.command }} \
${{ inputs.ref != '' && format('--ref={0}', inputs.ref) || '' }} \ ${{ inputs.ref != '' && format('--ref="{0}"', inputs.ref) || '' }} \
${{ inputs.stream != '' && format('--stream={0}', inputs.stream) || '' }} \ ${{ inputs.stream != '' && format('--stream="{0}"', inputs.stream) || '' }} \
${{ inputs.version != '' && format('--version={0}', inputs.version) || '' }} \ ${{ inputs.version != '' && format('--version="{0}"', inputs.version) || '' }} \
${{ inputs.version_path != '' && format('--version-path={0}', inputs.version_path) || '' }} \ ${{ inputs.version_path != '' && format('--version-path="{0}"', inputs.version_path) || '' }} \
${{ inputs.add_latest == 'true' && '--latest' || '' }} \ ${{ inputs.add_latest == 'true' && '--latest' || '' }} \
${{ inputs.add_release == 'true' && '--release' || '' }} \ ${{ inputs.add_release == 'true' && '--release' || '' }} \
${{ inputs.rm_all == 'true' && '--all' || '' }} \ ${{ inputs.rm_all == 'true' && '--all' || '' }} \