Update action.yaml

This commit is contained in:
Kjeld Schouten-Lebbing 2022-04-03 16:36:22 +02:00 committed by GitHub
parent 8cfad0ca86
commit 3bb7e3057b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -97,8 +97,8 @@ runs:
echo "Discovering changed charts since '$latest_tag'..."
changed_charts=()
readarray -t changed_charts <<< "$(lookup_changed_charts "$latest_tag")"
if [ ${#changed_charts[@]} -eq 0 ] || [ ((${#changed_charts[@]})) ] || "${changed_charts[0]}" = "\"; then
echo "Number of detected changed charts: ${#changed_charts[@]}"
if [ ${#changed_charts[@]} -eq 0 ] || [ ((${#changed_charts[@]})) ] || [ "${changed_charts[0]}" = "\" ]; then
echo "No Changed Charts detected since latest tag..."
printf "::set-output name=changesDetectedAfterTag::%s\n" "false"
else