fix: bug with dir name
This commit is contained in:
parent
e185973ea9
commit
6aa0ae3b2c
9
.github/workflows/test.yml
vendored
9
.github/workflows/test.yml
vendored
@ -296,12 +296,21 @@ jobs:
|
|||||||
id: changed-files-dir-names
|
id: changed-files-dir-names
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
|
base_sha: d1c0ee4
|
||||||
|
sha: 4d04215
|
||||||
dir_names: "true"
|
dir_names: "true"
|
||||||
- name: Show output
|
- name: Show output
|
||||||
run: |
|
run: |
|
||||||
echo '${{ toJSON(steps.changed-files-dir-names.outputs) }}'
|
echo '${{ toJSON(steps.changed-files-dir-names.outputs) }}'
|
||||||
shell:
|
shell:
|
||||||
bash
|
bash
|
||||||
|
- name: Check dir_names output
|
||||||
|
if: "!contains(steps.changed-files-dir-names.outputs.all_changed_files, 'test')"
|
||||||
|
run: |
|
||||||
|
echo "Invalid output: Expected to include (test) got (${{ steps.changed-files-dir-names.outputs.all_changed_files }})"
|
||||||
|
exit 1
|
||||||
|
shell:
|
||||||
|
bash
|
||||||
- name: Run changed-files since 2022-08-19
|
- name: Run changed-files since 2022-08-19
|
||||||
id: changed-files-since
|
id: changed-files-since
|
||||||
uses: ./
|
uses: ./
|
||||||
|
Loading…
x
Reference in New Issue
Block a user