From 1e674fcfac6de0deae23174926f405caf64416bc Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Mon, 27 Mar 2023 14:58:40 -0600 Subject: [PATCH] Update README.md --- README.md | 48 ++++++++++++++++++++++++------------------------ 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/README.md b/README.md index 6f46b103..8f596380 100644 --- a/README.md +++ b/README.md @@ -318,6 +318,28 @@ See [outputs](#outputs) for a list of all available outputs. +
+Get all changed files and write the outputs to a txt file + +```yaml +... + + - name: Get changed files and write the outputs to a txt file + id: changed-files-write-output-files-txt + uses: ./ + with: + write_output_files: true + + - name: Verify the contents of the .github/outputs/added_files.txt file + run: | + cat .github/outputs/added_files.txt +... +``` + +See [action.yml](action.yml#L264) for a list of all available keys. + +
+
Get all changed files and write the outputs to a json file @@ -331,31 +353,9 @@ See [outputs](#outputs) for a list of all available outputs. json: true write_output_files: true - - name: Verify the contents of the .github/added_files.json file + - name: Verify the contents of the .github/outputs/added_files.json file run: | - cat .github/added_files.json -... -``` - -See [action.yml](action.yml#L264) for a list of all available keys. - -
- -
-Get all changed files and write the outputs to a txt file - -```yaml -... - - - name: Get changed files and write the outputs to a txt file - id: changed-files-write-output-files-txt - uses: ./ - with: - write_output_files: true - - - name: Verify the contents of the .github/added_files.txt file - run: | - cat .github/added_files.txt + cat .github/outputs/added_files.json ... ```