Skip to content

Commit 271a3ec

Browse files
haarisrphanen
authored andcommitted
ci: autogenerate types
1 parent abacb06 commit 271a3ec

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/vimdoc.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,10 @@ jobs:
2626
echo "${PWD}/emmylua_doc_cli/" >> $GITHUB_PATH
2727
export PATH="${PWD}/emmylua_doc_cli/:${PATH}"
2828
emmylua_doc_cli --version
29-
- name: Generate OPTIONS.md
29+
- name: Generate OPTIONS.md and types
3030
run: |
3131
nvim --headless -l scripts/gen_options.lua
32+
make gen
3233
- name: Setup treesitter
3334
run: |
3435
mkdir -p ~/.local/share/nvim/site/pack/vendor/start
@@ -54,6 +55,6 @@ jobs:
5455
git config user.email "actions@github"
5556
git config user.name "Github Actions"
5657
git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
57-
git add doc OPTIONS.md
58+
git add doc OPTIONS.md lua/fzf-lua/types.lua
5859
# Only commit and push if we have changes
5960
git diff --quiet && git diff --staged --quiet || (git commit -m "${COMMIT_MSG}"; git push origin HEAD:${GITHUB_REF})

0 commit comments

Comments
 (0)