Skip to content

Commit 07cde66

Browse files
authored
fix: docs workflow should fail if out-of-date (zdharma-continuum#278)
Signed-off-by: Vladislav Doster <[email protected]>
1 parent 8620574 commit 07cde66

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/documentation.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ on:
1010
workflow_dispatch:
1111

1212
jobs:
13-
1413
zshelldoc:
1514
runs-on: ubuntu-latest
1615
steps:
@@ -26,5 +25,6 @@ jobs:
2625
- name: check for out-of-date documentation
2726
run: |
2827
if ! git --no-pager diff --exit-code; then
29-
echo "::set-output zshelldocs are out-of-date, run 'make doc'"
28+
echo "::error:: Z-shelldocs are out-of-date. To regenerate, run 'make doc'"
29+
exit 1
3030
fi

doc/zsdoc/zinit-install.zsh.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ ____
261261
package. Connects to Github releases page.
262262
____
263263
264-
Has 130 line(s). Calls functions:
264+
Has 115 line(s). Calls functions:
265265
266266
.zinit-get-latest-gh-r-url-part
267267
`-- zinit.zsh/+zinit-message

0 commit comments

Comments
 (0)