aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorMarc Jakobi <mrcjkb89@outlook.com>2023-01-06 23:58:19 +0100
committerMatthieu Coudron <teto@users.noreply.github.com>2023-01-08 18:59:12 +0100
commit2df0fbdadd947cd2995566a0117b8802a9ba74f4 (patch)
tree438a2056daebdd70c4058d35b5e30a7bed5f1143 /.github/workflows
parentdocs: fix typo (#2382) (diff)
downloadnvim-lspconfig-2df0fbdadd947cd2995566a0117b8802a9ba74f4.tar
nvim-lspconfig-2df0fbdadd947cd2995566a0117b8802a9ba74f4.tar.gz
nvim-lspconfig-2df0fbdadd947cd2995566a0117b8802a9ba74f4.tar.bz2
nvim-lspconfig-2df0fbdadd947cd2995566a0117b8802a9ba74f4.tar.lz
nvim-lspconfig-2df0fbdadd947cd2995566a0117b8802a9ba74f4.tar.xz
nvim-lspconfig-2df0fbdadd947cd2995566a0117b8802a9ba74f4.tar.zst
nvim-lspconfig-2df0fbdadd947cd2995566a0117b8802a9ba74f4.zip
ci: add luarocks upload release workflowv0.1.5
The recently added rockspec (see #2307) has to be prepared and uploaded to luarocks for each release. This adds an automated workflow for it, which has been tested with plenary.nvim. To be able to upload to luarocks, the owner of the luarocks account will have to add an API key named `LUAROCKS_API_KEY` to this repo's GitHub Actions secrets.
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/release.yml22
1 files changed, 22 insertions, 0 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
new file mode 100644
index 00000000..11ce428d
--- /dev/null
+++ b/.github/workflows/release.yml
@@ -0,0 +1,22 @@
+name: "release"
+on:
+ push:
+ tags:
+ - '*'
+jobs:
+ luarocks-upload:
+ runs-on: ubuntu-22.04
+ steps:
+ - uses: actions/checkout@v3
+ - uses: leafo/gh-actions-lua@v9
+ with:
+ luaVersion: "luajit-2.1.0-beta3"
+ - uses: leafo/gh-actions-luarocks@v4
+ - name: Install dkjson
+ run: luarocks install dkjson
+ - name: Luarocks Upload
+ env:
+ LUAROCKS_API_KEY: ${{ secrets.LUAROCKS_API_KEY }}
+ run: make luarocks_upload
+ - name: Install release
+ run: make test_luarocks_install