Update action.yml
This commit is contained in:
parent
fdc23e7274
commit
1e435854e3
@ -124,6 +124,14 @@ runs:
|
|||||||
ALL_CHANGED=$(echo "$ALL_CHANGED" | sed -E 's/(${{ inputs.separator }})$//')
|
ALL_CHANGED=$(echo "$ALL_CHANGED" | sed -E 's/(${{ inputs.separator }})$//')
|
||||||
ALL_MODIFIED_FILES=$(echo "$ALL_MODIFIED_FILES" | sed -E 's/(${{ inputs.separator }})$//')
|
ALL_MODIFIED_FILES=$(echo "$ALL_MODIFIED_FILES" | sed -E 's/(${{ inputs.separator }})$//')
|
||||||
|
|
||||||
|
SEP_INPUT_FILES=$(echo $INPUT_FILES || sed -E 's/ /(${{ inputs.separator }})/')
|
||||||
|
|
||||||
|
if [[ $ALL_MODIFIED_FILES -eq $SEP_INPUT_FILES ]]; then
|
||||||
|
echo "::set-output name=has_changes::true"
|
||||||
|
else
|
||||||
|
echo "::set-output name=has_changes::false"
|
||||||
|
fi
|
||||||
|
|
||||||
echo "::set-output name=added_files::$ADDED"
|
echo "::set-output name=added_files::$ADDED"
|
||||||
echo "::set-output name=copied_files::$COPIED"
|
echo "::set-output name=copied_files::$COPIED"
|
||||||
echo "::set-output name=deleted_files::$DELETED"
|
echo "::set-output name=deleted_files::$DELETED"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user