feat: add support for returning directory names (#522)

* feat: add support for returning directory names

* Updated step name

* Updated to return uniq dir names

* Updated README.md

* Updated README.md

* Updated separator encoding
This commit is contained in:
Tonye Jack
2022-06-12 10:08:13 -04:00
committed by GitHub
parent cf50530aad
commit 4cbef76b5d
5 changed files with 91 additions and 68 deletions

View File

@@ -242,6 +242,16 @@ jobs:
echo '${{ toJSON(steps.changed-files-quotepath.outputs) }}'
shell:
bash
- name: Run changed-files with dir_names
id: changed-files-only-dir-names
uses: ./
with:
dir_names: "true"
- name: Show output
run: |
echo '${{ toJSON(steps.changed-files-only-dir-names.outputs) }}'
shell:
bash
- name: Run changed-files with forward slash separator
id: changed-files-forward-slash
uses: ./