mirror of
https://github.com/zoriya/telescope.nvim.git
synced 2025-12-06 06:46:10 +00:00
chore: use luarocks-tag-release action (#2364)
This commit is contained in:
27
.github/workflows/release.yml
vendored
27
.github/workflows/release.yml
vendored
@@ -8,15 +8,22 @@ jobs:
|
|||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: leafo/gh-actions-lua@v9
|
- name: LuaRocks Upload
|
||||||
with:
|
uses: nvim-neorocks/luarocks-tag-release@v1.0.2
|
||||||
luaVersion: "luajit-2.1.0-beta3"
|
|
||||||
- uses: leafo/gh-actions-luarocks@v4
|
|
||||||
- name: Install dkjson
|
|
||||||
run: luarocks install dkjson
|
|
||||||
- name: Luarocks Upload
|
|
||||||
env:
|
env:
|
||||||
LUAROCKS_API_KEY: ${{ secrets.LUAROCKS_API_KEY }}
|
LUAROCKS_API_KEY: ${{ secrets.LUAROCKS_API_KEY }}
|
||||||
run: make luarocks_upload
|
with:
|
||||||
- name: Install release
|
summary: "Find, Filter, Preview, Pick. All lua, all the time."
|
||||||
run: make test_luarocks_install
|
detailed_description: |
|
||||||
|
A highly extendable fuzzy finder over lists.
|
||||||
|
Built on the latest awesome features from neovim core.
|
||||||
|
Telescope is centered around modularity, allowing for easy customization.
|
||||||
|
dependencies: |
|
||||||
|
plenary.nvim
|
||||||
|
copy_directories: |
|
||||||
|
doc
|
||||||
|
ftplugin
|
||||||
|
plugin
|
||||||
|
scripts
|
||||||
|
autoload
|
||||||
|
data
|
||||||
|
|||||||
6
Makefile
6
Makefile
@@ -6,9 +6,3 @@ lint:
|
|||||||
|
|
||||||
docgen:
|
docgen:
|
||||||
nvim --headless --noplugin -u scripts/minimal_init.vim -c "luafile ./scripts/gendocs.lua" -c 'qa'
|
nvim --headless --noplugin -u scripts/minimal_init.vim -c "luafile ./scripts/gendocs.lua" -c 'qa'
|
||||||
|
|
||||||
luarocks_upload:
|
|
||||||
bash ./scripts/luarocks-upload.sh
|
|
||||||
|
|
||||||
test_luarocks_install:
|
|
||||||
bash ./scripts/test-luarocks-install.sh
|
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
# telescope.nvim
|
# telescope.nvim
|
||||||
|
|
||||||
[](https://gitter.im/nvim-telescope/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
|
[](https://gitter.im/nvim-telescope/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
|
||||||
|
[](https://luarocks.org/modules/Conni2461/telescope.nvim)
|
||||||
|
|
||||||
Gaze deeply into unknown regions using the power of the moon.
|
Gaze deeply into unknown regions using the power of the moon.
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
# Expects the LUAROCKS_API_KEY secret to be set
|
|
||||||
|
|
||||||
TMP_DIR=$(mktemp -d)
|
|
||||||
MODREV=$(git describe --tags --always --first-parent | tr -d "v")
|
|
||||||
DEST_ROCKSPEC="$TMP_DIR/telescope.nvim-$MODREV-1.rockspec"
|
|
||||||
cp "telescope.nvim-scm-1.rockspec" "$DEST_ROCKSPEC"
|
|
||||||
sed -i "s/= 'scm'/= '$MODREV'/g" "$DEST_ROCKSPEC"
|
|
||||||
luarocks upload "$DEST_ROCKSPEC" --api-key="$LUAROCKS_API_KEY"
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
MODREV=$(git describe --tags --always --first-parent | tr -d "v")
|
|
||||||
luarocks install "telescope.nvim" "$MODREV"
|
|
||||||
@@ -21,15 +21,8 @@ dependencies = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
source = {
|
source = {
|
||||||
url = 'https://github.com/nvim-telescope/telescope.nvim/archive/refs/tags/' .. MODREV .. '.zip',
|
|
||||||
dir = 'telescope.nvim-' .. MODREV
|
|
||||||
}
|
|
||||||
|
|
||||||
if MODREV == 'scm' then
|
|
||||||
source = {
|
|
||||||
url = 'git://github.com/nvim-telescope/telescope.nvim',
|
url = 'git://github.com/nvim-telescope/telescope.nvim',
|
||||||
}
|
}
|
||||||
end
|
|
||||||
|
|
||||||
build = {
|
build = {
|
||||||
type = 'builtin',
|
type = 'builtin',
|
||||||
|
|||||||
Reference in New Issue
Block a user