added continue-on-error.
This commit is contained in:
parent
dcd088713a
commit
6ffc0e26e3
7
.github/workflows/test.yml
vendored
7
.github/workflows/test.yml
vendored
@ -136,11 +136,18 @@ jobs:
|
|||||||
|
|
||||||
- name: Run changed-files with a single commit history
|
- name: Run changed-files with a single commit history
|
||||||
id: changed-files
|
id: changed-files
|
||||||
|
continue-on-error: true
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
base_sha: d1c0ee4
|
base_sha: d1c0ee4
|
||||||
sha: d1c0ee4
|
sha: d1c0ee4
|
||||||
|
|
||||||
|
- name: Exit with 1 if no error is raised
|
||||||
|
if: steps.changed-files.outcome != 'failure'
|
||||||
|
run: |
|
||||||
|
echo "Expected: (failure) got ${{ steps.changed-files.outcome }}"
|
||||||
|
exit 1
|
||||||
|
|
||||||
- name: Show output
|
- name: Show output
|
||||||
run: |
|
run: |
|
||||||
echo '${{ toJSON(steps.changed-files.outputs) }}'
|
echo '${{ toJSON(steps.changed-files.outputs) }}'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user