mirror of
https://github.com/tj-actions/changed-files
synced 2025-02-05 23:41:23 +00:00
Update action.yml
This commit is contained in:
parent
23c8cafe35
commit
a0301e7e4d
1 changed files with 9 additions and 0 deletions
|
@ -45,6 +45,9 @@ outputs:
|
||||||
all_changed:
|
all_changed:
|
||||||
description: Return true only when all files provided using the files input have all changed.
|
description: Return true only when all files provided using the files input have all changed.
|
||||||
value: ${{ steps.changed_files.outputs.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:
|
runs:
|
||||||
using: 'composite'
|
using: 'composite'
|
||||||
|
@ -138,6 +141,12 @@ runs:
|
||||||
else
|
else
|
||||||
echo "::set-output name=all_changed::false"
|
echo "::set-output name=all_changed::false"
|
||||||
fi
|
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=added_files::$ADDED"
|
||||||
echo "::set-output name=copied_files::$COPIED"
|
echo "::set-output name=copied_files::$COPIED"
|
||||||
|
|
Loading…
Add table
Reference in a new issue