ci: fix versionsapi action

Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
Paul Meyer 2023-01-16 17:29:14 +01:00
parent fa7bac3868
commit ec1df3084b

View File

@ -76,9 +76,10 @@ runs:
# and if we encode it, it is redacted as secret. 🤦 # and if we encode it, it is redacted as secret. 🤦
# So we have to workaround by writing it to a file. # So we have to workaround by writing it to a file.
if [[ ${{ inputs.command == 'list' }} ]]; then if [[ ${{ inputs.command }} == 'list' ]]; then
echo "$out" > versionsapi_output.txt echo "$out" > versionsapi_output.txt
exit 0 exit 0
fi fi
echo "output=${out}" >> "$GITHUB_OUTPUT" echo "output=${out}" >> "$GITHUB_OUTPUT"
echo "${out}"