aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/api-docs.yml
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2022-11-05 23:22:39 +0100
committerGitHub <noreply@github.com>2022-11-05 23:22:39 +0100
commita966347cab652e2e064d7c826457d46cd9079923 (patch)
tree003691f696aa312529a28c9964a5917fca7f3ff7 /.github/workflows/api-docs.yml
parent9a52a8e1ec9de8542510d66a6674742f0dbec27d (diff)
downloadrneovim-a966347cab652e2e064d7c826457d46cd9079923.tar.gz
rneovim-a966347cab652e2e064d7c826457d46cd9079923.tar.bz2
rneovim-a966347cab652e2e064d7c826457d46cd9079923.zip
ci: replace deprecated feature set-output (#20834)
The new recommended way to share values between Github Actions steps is to use environment files: https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#setting-an-output-parameter
Diffstat (limited to '.github/workflows/api-docs.yml')
-rw-r--r--.github/workflows/api-docs.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/api-docs.yml b/.github/workflows/api-docs.yml
index 83554e2a3d..ca01bf3df0 100644
--- a/.github/workflows/api-docs.yml
+++ b/.github/workflows/api-docs.yml
@@ -52,7 +52,7 @@ jobs:
run: |
git checkout -b ${DOC_BRANCH}
python3 scripts/gen_vimdoc.py
- printf '::set-output name=UPDATED_DOCS::%s\n' $([ -z "$(git diff)" ]; echo $?)
+ printf 'UPDATED_DOCS=%s\n' $([ -z "$(git diff)" ]; echo $?) >> $GITHUB_OUTPUT
- name: FAIL, PR has not committed doc changes
if: ${{ steps.docs.outputs.UPDATED_DOCS != 0 && inputs.check_only }}