From 44f2c84fcf53d9520247e447be0c67b623027e6d Mon Sep 17 00:00:00 2001 From: Scott Brenstuhl Date: Fri, 1 Jul 2022 18:04:39 -0700 Subject: [PATCH] add files_renamed documentation --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index a7d4b133..89e8ba44 100644 --- a/README.md +++ b/README.md @@ -61,6 +61,10 @@ steps.file_changes.outputs.files_modified - `string` - The names of the updated steps.file_changes.outputs.files_removed - `string` - The names of the removed files. The output is dependant on the output input, default is a json string. +### files_renamed + +steps.file_changes.outputs.files_renamed - `string` - The names of the renamed files. The output is dependant on the output input, default is a json string. + ## Example usage ```yaml @@ -142,10 +146,12 @@ jobs: cat $HOME/files_modified.json cat $HOME/files_added.json cat $HOME/files_removed.json + cat $HOME/files_renamed.json echo '${{ steps.file_changes.outputs.files}}' echo '${{ steps.file_changes.outputs.files_modified}}' echo '${{ steps.file_changes.outputs.files_added}}' echo '${{ steps.file_changes.outputs.files_removed}}' + echo '${{ steps.file_changes.outputs.files_renamed}}' ``` You can set the output and fileOutput to ',' for csv output.