diff options
| author | Gregory Anders <8965202+gpanders@users.noreply.github.com> | 2023-11-02 11:12:38 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-02 11:12:38 -0700 |
| commit | e0d97d264f83d45472e6cdd1051893db1083eefb (patch) | |
| tree | d51b7fbbb715151ffdd4b95c3a176426ac9a2a54 /.github/workflows | |
| parent | 363e029e7ae295d2f9c711b9387da43aaf692b9a (diff) | |
| download | rneovim-e0d97d264f83d45472e6cdd1051893db1083eefb.tar.gz rneovim-e0d97d264f83d45472e6cdd1051893db1083eefb.tar.bz2 rneovim-e0d97d264f83d45472e6cdd1051893db1083eefb.zip | |
build: use built nvim artifact to generate eval files (#25875)
In cases where the generated files depend on changes to Nvim itself,
generating the files with an older version of Nvim will fail because
those changes are not present in the older version.
For example, if a new option is added then the generator script should
be run with the version of Nvim that contains the new option, or else
the generation will fail.
Co-authored-by: dundargoc <gocdundar@gmail.com>
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/api-docs.yml | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/.github/workflows/api-docs.yml b/.github/workflows/api-docs.yml index d776733b58..cb72daf9ad 100644 --- a/.github/workflows/api-docs.yml +++ b/.github/workflows/api-docs.yml @@ -15,19 +15,14 @@ jobs: contents: write pull-requests: write steps: - - uses: rhysd/action-setup-vim@v1 - with: - neovim: true - version: nightly - uses: actions/checkout@v4 - name: Install dependencies run: | - sudo apt-get update ./.github/scripts/install_deps.sh - sudo env DEBIAN_FRONTEND=noninteractive apt-get install -y doxygen python3 python3-msgpack + sudo apt-get install -y doxygen python3-msgpack + - uses: ./.github/actions/cache - name: Generate docs - id: docs run: | make doc printf 'UPDATED_DOCS=%s\n' $([ -z "$(git diff)" ]; echo $?) >> $GITHUB_OUTPUT @@ -35,7 +30,6 @@ jobs: - name: FAIL, PR has not committed doc changes if: ${{ steps.docs.outputs.UPDATED_DOCS != 0 }} run: | - echo "Job failed, run ./scripts/gen_vimdoc.py and/or ./scripts/gen_vimfn_types.lua" - echo "and commit your doc changes" + echo "Job failed, run 'make doc' and commit your doc changes." echo "The doc generation produces the following changes:" git diff --color --exit-code |