From 312a368eff043784342492b25152f0e1fb3ce0bb Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Sat, 20 Aug 2022 20:41:36 -0600 Subject: [PATCH] added test --- .github/workflows/test.yml | 30 +++++++++++++++++++++++++----- README.md | 12 ++++++++++++ 2 files changed, 37 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a6c0d8c9..111c490e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -167,7 +167,7 @@ jobs: echo "${{ toJSON(steps.changed-files.outputs) }}" shell: bash - + - name: Exit with 1 if no error is raised if: steps.changed-files.outcome != 'failure' run: | @@ -187,7 +187,7 @@ jobs: echo "${{ toJSON(steps.changed-files-specific.outputs) }}" shell: bash - + - name: Exit with 1 if no error is raised if: steps.changed-files-specific.outcome != 'failure' run: | @@ -219,7 +219,7 @@ jobs: echo "${{ toJSON(steps.changed-files.outputs) }}" shell: bash - + - name: Exit with 1 if no error is raised if: steps.changed-files.outcome != 'failure' run: | @@ -239,7 +239,7 @@ jobs: echo "${{ toJSON(steps.changed-files-specific.outputs) }}" shell: bash - + - name: Exit with 1 if no error is raised if: steps.changed-files-specific.outcome != 'failure' run: | @@ -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: ./ @@ -372,7 +392,7 @@ jobs: base_sha: d1c0ee4 sha: 4d04215 include_all_old_new_renamed_files: true - - name: Show output + - name: Show output run: | echo '${{ toJSON(steps.changed-files-all-old-new-renamed-files-1.outputs) }}' shell: diff --git a/README.md b/README.md index e513aec4..0c1d5f48 100644 --- a/README.md +++ b/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" ``` Screen Shot 2021-11-19 at 4 59 21 PM