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

Update action.yml

This commit is contained in:
Tonye Jack 2021-05-01 13:32:09 -04:00 committed by GitHub
parent 23c8cafe35
commit a0301e7e4d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -45,6 +45,9 @@ outputs:
all_changed:
description: Return true only when all files provided using the files input have all changed.
value: ${{ steps.changed_files.outputs.all_changed }}
any_changed:
description: Return true only when any files provided using the files input have changed.
value: ${{ steps.changed_files.outputs.any_changed }}
runs:
using: 'composite'
@ -138,6 +141,12 @@ runs:
else
echo "::set-output name=all_changed::false"
fi
if [[ -n "$OUTPUT_ALL_MODIFIED_FILES" ]]; then
echo "::set-output name=any_changed::true"
else
echo "::set-output name=any_changed::false"
fi
echo "::set-output name=added_files::$ADDED"
echo "::set-output name=copied_files::$COPIED"