mirror of
https://github.com/tj-actions/changed-files
synced 2025-02-06 09:41:22 +00:00
added test
This commit is contained in:
parent
492c7bf391
commit
312a368eff
2 changed files with 37 additions and 5 deletions
20
.github/workflows/test.yml
vendored
20
.github/workflows/test.yml
vendored
|
@ -302,6 +302,26 @@ jobs:
|
|||
echo '${{ toJSON(steps.changed-files-dir-names.outputs) }}'
|
||||
shell:
|
||||
bash
|
||||
- name: Run changed-files since 2022-08-19
|
||||
id: changed-files-since
|
||||
uses: ./
|
||||
with:
|
||||
since: "2022-08-19"
|
||||
- name: Show output
|
||||
run: |
|
||||
echo '${{ toJSON(steps.changed-files-since.outputs) }}'
|
||||
shell:
|
||||
bash
|
||||
- name: Run changed-files until 2022-08-20
|
||||
id: changed-files-until
|
||||
uses: ./
|
||||
with:
|
||||
until: "2022-08-20"
|
||||
- name: Show output
|
||||
run: |
|
||||
echo '${{ toJSON(steps.changed-files-until.outputs) }}'
|
||||
shell:
|
||||
bash
|
||||
- name: Run changed-files with forward slash separator
|
||||
id: changed-files-forward-slash
|
||||
uses: ./
|
||||
|
|
12
README.md
12
README.md
|
@ -347,6 +347,18 @@ Support this project with a :star:
|
|||
uses: tj-actions/changed-files@v27
|
||||
with:
|
||||
json: "true"
|
||||
|
||||
- name: Run changed-files since 2022-08-19
|
||||
id: changed-files-since
|
||||
uses: tj-actions/changed-files@v27
|
||||
with:
|
||||
since: "2022-08-19"
|
||||
|
||||
- name: Run changed-files until 2022-08-20
|
||||
id: changed-files-until
|
||||
uses: tj-actions/changed-files@v27
|
||||
with:
|
||||
until: "2022-08-20"
|
||||
```
|
||||
|
||||
<img width="1147" alt="Screen Shot 2021-11-19 at 4 59 21 PM" src="https://user-images.githubusercontent.com/17484350/142696936-8b7ca955-7ef9-4d53-9bdf-3e0008e90c3f.png">
|
||||
|
|
Loading…
Add table
Reference in a new issue