From de39d801dcce7f59abf333939f306a913461fe24 Mon Sep 17 00:00:00 2001 From: MURAOKA Taro Date: Sat, 22 Jul 2023 11:59:13 +0900 Subject: [PATCH 1/2] update vim to 9.0.0814 The reason the Vim version is 9.0.0814 is because I adapted it to my local environment to make it easier to test locally. --- .github/workflows/generate.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/generate.yml b/.github/workflows/generate.yml index e12dce62c..9a09684af 100644 --- a/.github/workflows/generate.yml +++ b/.github/workflows/generate.yml @@ -24,7 +24,7 @@ jobs: - name: Setup Vim uses: thinca/action-setup-vim@v1 with: - vim_version: 'v8.2.0020' + vim_version: 'v9.0.0814' vim_type: 'Vim' - name: Generate new document run: | @@ -78,7 +78,7 @@ jobs: - name: Setup Vim uses: thinca/action-setup-vim@v1 with: - vim_version: 'v8.2.0020' + vim_version: 'v9.0.0814' vim_type: 'Vim' - name: Generate new document run: | From 1107aafa57d6611eae198f369d37af06527641df Mon Sep 17 00:00:00 2001 From: MURAOKA Taro Date: Sat, 22 Jul 2023 12:08:55 +0900 Subject: [PATCH 2/2] add workflow to check tag generation --- .github/workflows/tag-generate.yml | 32 ++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/tag-generate.yml diff --git a/.github/workflows/tag-generate.yml b/.github/workflows/tag-generate.yml new file mode 100644 index 000000000..011e10711 --- /dev/null +++ b/.github/workflows/tag-generate.yml @@ -0,0 +1,32 @@ +name: "Generate tag for check" +on: [push, pull_request] + +jobs: + generate: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + - name: Setup Vim + uses: thinca/action-setup-vim@v1 + with: + vim_version: 'v9.0.0814' + vim_type: 'Vim' + + - name: Create tags + run: | + vim -eu tools/maketags.vim + + - name: Rename for artifact/archive + run: | + mv -f README.md README-working.md + mv -f README-dist.md README.md + + - name: Upload artifact + uses: actions/upload-artifact@v3 + with: + name: vimdoc-ja + path: | + doc/ + syntax/ + README.md