Merge pull request #694 from tj-actions/chore/clean-up-test

This commit is contained in:
Tonye Jack 2022-10-15 22:33:22 -06:00 committed by GitHub
commit 1d6e210c97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -100,16 +100,20 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- run: |
git log -1 --format="%H" --date=local --until="2022-08-20" | grep -n 8d5c4478e28f7b7189cd93c195aa9d4f0992da90
- 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: ./
continue-on-error: true
with: with:
since: "2022-08-19" since: "2022-08-19"
- name: Check output
if: "!contains(steps.changed-files-since.outputs.all_changed_files, '.github/workflows/sync-release-version.yml')"
run: |
echo "Invalid output: Expected to include (.github/workflows/sync-release-version.yml) got (${{ steps.changed-files-since.outputs.all_changed_files }})"
exit 1
shell:
bash
- name: Show output - name: Show output
run: | run: |
echo '${{ toJSON(steps.changed-files-since.outputs) }}' echo '${{ toJSON(steps.changed-files-since.outputs) }}'
@ -119,10 +123,17 @@ jobs:
- name: Run changed-files until 2022-08-20 - name: Run changed-files until 2022-08-20
id: changed-files-until id: changed-files-until
uses: ./ uses: ./
continue-on-error: true
with: with:
until: "2022-08-20" until: "2022-08-20"
- name: Check output
if: "!contains(steps.changed-files-until.outputs.all_changed_files, 'entrypoint.sh')"
run: |
echo "Invalid output: Expected to include (entrypoint.sh) got (${{ steps.changed-files-until.outputs.all_changed_files }})"
exit 1
shell:
bash
- name: Show output - name: Show output
run: | run: |
echo '${{ toJSON(steps.changed-files-until.outputs) }}' echo '${{ toJSON(steps.changed-files-until.outputs) }}'