mirror of
https://github.com/zoriya/telescope.nvim.git
synced 2026-08-11 16:39:47 +00:00
feat: add rockspec + luarocks upload workflow (#2276)
telescope.nvim is a common dependency across Neovim plugins.
Using luarocks may alleviate the need for users to specify their
plugins' dependencies in their plugin manager.
(e.g., vim-plug or packer).
See also:
https://teto.github.io/posts/2021-09-17-neovim-plugin-luarocks.html
(cherry picked from commit e8c01bab91)
This commit is contained in:
committed by
Simon Hauser
parent
f7bceabcc9
commit
1b3ece5bad
@@ -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
|
||||
Reference in New Issue
Block a user