From aa77db3b90d030f87821b1acbc8305e324eb177f Mon Sep 17 00:00:00 2001 From: Vladislav Doster Date: Sat, 21 May 2022 22:39:09 -0500 Subject: [PATCH] fix: docs workflow should fail if out-of-date Signed-off-by: Vladislav Doster --- .github/workflows/documentation.yaml | 4 ++-- doc/zsdoc/zinit-install.zsh.adoc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/documentation.yaml b/.github/workflows/documentation.yaml index 8d37718a2..b46980574 100644 --- a/.github/workflows/documentation.yaml +++ b/.github/workflows/documentation.yaml @@ -10,7 +10,6 @@ on: workflow_dispatch: jobs: - zshelldoc: runs-on: ubuntu-latest steps: @@ -26,5 +25,6 @@ jobs: - name: check for out-of-date documentation run: | if ! git --no-pager diff --exit-code; then - echo "::set-output zshelldocs are out-of-date, run 'make doc'" + echo "::error:: Z-shelldocs are out-of-date. To regenerate, run 'make doc'" + exit 1 fi diff --git a/doc/zsdoc/zinit-install.zsh.adoc b/doc/zsdoc/zinit-install.zsh.adoc index d67076f99..f88856fba 100644 --- a/doc/zsdoc/zinit-install.zsh.adoc +++ b/doc/zsdoc/zinit-install.zsh.adoc @@ -261,7 +261,7 @@ ____ package. Connects to Github releases page. ____ -Has 130 line(s). Calls functions: +Has 115 line(s). Calls functions: .zinit-get-latest-gh-r-url-part `-- zinit.zsh/+zinit-message