3
0
Fork 0
mirror of https://github.com/tj-actions/changed-files synced 2025-01-29 13:34:51 +00:00

Update action.yml (#73)

This commit is contained in:
Tonye Jack 2021-05-16 16:33:09 -04:00 committed by GitHub
parent 060d09a82f
commit 3f4565907d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -147,7 +147,7 @@ runs:
echo "Input files: ${ALL_INPUT_FILES[@]}"
echo "Matching modified files: ${ALL_MODIFIED_FILES[@]}"
if [[ ${#ALL_MODIFIED_FILES[@]} -gt 0 ]]; then
if [[ -n "$ALL_MODIFIED_FILES" ]]; then
echo "::set-output name=any_changed::true"
else
echo "::set-output name=any_changed::false"