2023-06-08 21:15:37 +08:00
|
|
|
name: "release"
|
|
|
|
on:
|
|
|
|
push:
|
2024-03-21 19:32:46 +08:00
|
|
|
tags: # Will upload to luarocks.org when a tag is pushed
|
|
|
|
- "*"
|
|
|
|
pull_request: # Will test a local install without uploading to luarocks.org
|
|
|
|
|
2023-06-08 21:15:37 +08:00
|
|
|
jobs:
|
2024-03-21 19:32:46 +08:00
|
|
|
luarocks-release:
|
|
|
|
name: LuaRocks upload
|
|
|
|
runs-on: ubuntu-latest
|
2023-06-08 21:15:37 +08:00
|
|
|
steps:
|
2024-03-21 19:32:46 +08:00
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v3
|
2023-06-08 21:15:37 +08:00
|
|
|
- name: LuaRocks Upload
|
2024-03-21 19:32:46 +08:00
|
|
|
uses: nvim-neorocks/luarocks-tag-release@v5
|
2023-06-08 21:15:37 +08:00
|
|
|
env:
|
|
|
|
LUAROCKS_API_KEY: ${{ secrets.LUAROCKS_API_KEY }}
|
|
|
|
with:
|
2024-03-21 19:32:46 +08:00
|
|
|
labels: |
|
|
|
|
neovim
|
|
|
|
nvim-cmp
|
2023-06-08 21:15:37 +08:00
|
|
|
detailed_description: |
|
|
|
|
A completion engine plugin for neovim written in Lua.
|
|
|
|
Completion sources are installed from external repositories and "sourced".
|