Skip to content

Commit a4b0140

Browse files
committed
ci: fix 'Verify that the project is built'
The output of that step, if something goes wrong, claims that `dist/` is not up to date, but the build product is in `lib/`. Also, `git status -s` shows not only differences in the tracked files, but also untracked files (which should not exist at that stage). Let's avoid puzzling contributors when there are untracked files by logging the output of `git status -s`. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 6adc5f7 commit a4b0140

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/checkin.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ jobs:
3232
- name: Verify that the project is built
3333
run: |
3434
if [[ -n $(git status -s) ]]; then
35-
echo "ERROR: generated dist/ differs from the current sources"
35+
echo "ERROR: generated lib/ differs from the current sources"
36+
git status -s
3637
git diff
3738
exit 1
3839
fi

0 commit comments

Comments
 (0)