Update action.yaml
This commit is contained in:
parent
fac0079fa3
commit
c80233cfae
|
@ -104,13 +104,14 @@ runs:
|
||||||
else
|
else
|
||||||
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=()
|
||||||
|
|
||||||
# Get only the chart paths
|
# Get only the chart paths
|
||||||
for CHARTPATH in "${changed_charts[@]}"
|
for CHARTPATH in "${changed_charts[@]}"
|
||||||
do
|
do
|
||||||
IFS='/' read -r -a path_parts <<< "${CHARTPATH}"
|
IFS='/' read -r -a path_parts <<< "${CHARTPATH}"
|
||||||
CHARTS+=("${path_parts[1]}/${path_parts[2]}")
|
CHARTS+=("${path_parts[1]}/${path_parts[2]}")
|
||||||
done
|
done
|
||||||
|
# Set output to changed charts
|
||||||
printf "::set-output name=modifiedChartsAfterTag::%s\n" "${CHARTS[*]}"
|
printf "::set-output name=modifiedChartsAfterTag::%s\n" "${CHARTS[*]}"
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in New Issue