mirror of
https://github.com/tj-actions/changed-files
synced 2024-12-17 23:44:46 +00:00
Merge pull request #600 from tj-actions/fix/bug-with-dir-names
This commit is contained in:
commit
18edda7475
2 changed files with 10 additions and 1 deletions
9
.github/workflows/test.yml
vendored
9
.github/workflows/test.yml
vendored
|
@ -296,12 +296,21 @@ jobs:
|
|||
id: changed-files-dir-names
|
||||
uses: ./
|
||||
with:
|
||||
base_sha: d1c0ee4
|
||||
sha: 4d04215
|
||||
dir_names: "true"
|
||||
- name: Show output
|
||||
run: |
|
||||
echo '${{ toJSON(steps.changed-files-dir-names.outputs) }}'
|
||||
shell:
|
||||
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
|
||||
id: changed-files-since
|
||||
uses: ./
|
||||
|
|
|
@ -203,7 +203,7 @@ runs:
|
|||
INPUT_PATH: ${{ inputs.path }}
|
||||
INPUT_USE_FORK_POINT: ${{ inputs.use_fork_point }}
|
||||
- name: Glob match
|
||||
uses: tj-actions/glob@v12
|
||||
uses: tj-actions/glob@v13
|
||||
id: glob
|
||||
with:
|
||||
files: ${{ inputs.files }}
|
||||
|
|
Loading…
Reference in a new issue