Skip to content

Commit e6ec99e

Browse files
authored
Add clear instruction at CI screenshot tests error output (#1423)
* Add clear instruction - Your fork's CI will take screenshots for your fork. Change-Id: I7ea1a437be4f9723fcf71d4d18932f8f44f46fa8 * Remove screenshots to see CI instruction. Change-Id: Ib12f0ee4ff4faff8287f9ddfd5e533868abca4f8 * Revert "Remove screenshots to see CI instruction." This reverts commit 36de3be.
1 parent 37fea19 commit e6ec99e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/Build.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,9 @@ jobs:
9393
continue-on-error: false
9494
if: steps.screenshotsverify.outcome == 'failure' && github.event.pull_request.head.repo.full_name != github.repository
9595
run: |
96-
echo "::error::Screenshot tests failed, please create a PR in your fork first." && exit 1
96+
echo "::error::Screenshot tests failed, please create a PR in your fork first."
97+
echo "Your fork's CI will take screenshots for your fork."
98+
exit 1
9799
98100
# Runs if previous job failed
99101
- name: Generate new screenshots if verification failed and it's a PR

0 commit comments

Comments
 (0)