Update action.yaml

This commit is contained in:
Kjeld Schouten-Lebbing
2022-04-03 16:03:57 +02:00
committed by GitHub
parent 4c38f4d1c2
commit 9d540c654f
+2 -1
View File
@@ -105,6 +105,7 @@ runs:
echo "Changed Charts detected since latest tag, parsing..." echo "Changed Charts detected since latest tag, parsing..."
printf "::set-output name=changesDetectedAfterTag::%s\n" "true" printf "::set-output name=changesDetectedAfterTag::%s\n" "true"
CHARTS=() CHARTS=()
echo "Changed charts: ${changed_charts[*]}"
# Get only the chart paths # Get only the chart paths
for CHARTPATH in "${changed_charts[@]}" for CHARTPATH in "${changed_charts[@]}"
@@ -113,6 +114,6 @@ runs:
CHARTS+=("${path_parts[1]}/${path_parts[2]}") CHARTS+=("${path_parts[1]}/${path_parts[2]}")
done done
# Set output to changed charts # Set output to changed charts
echo "Changed charts: ${CHARTS[*]}" echo "Changed charts with short paths: ${changed_charts[*]}"
printf "::set-output name=modifiedChartsAfterTag::%s\n" "${CHARTS[*]}" printf "::set-output name=modifiedChartsAfterTag::%s\n" "${CHARTS[*]}"
fi fi