Update action.yml
This commit is contained in:
parent
fdc23e7274
commit
1e435854e3
@ -123,6 +123,14 @@ runs:
|
||||
UNKNOWN=$(echo "$UNKNOWN" | 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 }})$//')
|
||||
|
||||
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=copied_files::$COPIED"
|
||||
|
Loading…
x
Reference in New Issue
Block a user