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: | 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