Skip to content
This repository was archived by the owner on Nov 30, 2025. It is now read-only.

Commit e9d690c

Browse files
committed
adding luarocks release action
1 parent db7b333 commit e9d690c

2 files changed

Lines changed: 15 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: "release"
2+
on:
3+
push:
4+
tags:
5+
- 'v*'
6+
jobs:
7+
luarocks-upload:
8+
runs-on: ubuntu-22.04
9+
steps:
10+
- uses: actions/checkout@v3
11+
- name: LuaRocks Upload
12+
uses: nvim-neorocks/luarocks-tag-release@v4
13+
env:
14+
LUAROCKS_API_KEY: ${{ secrets.LUAROCKS_API_KEY }}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/ellisonleao/nvim-plugin-template/default.yml?branch=main&style=for-the-badge)
44
![Lua](https://img.shields.io/badge/Made%20with%20Lua-blueviolet.svg?style=for-the-badge&logo=lua)
55

6-
76
A template repository for Neovim plugins.
87

98
## Using it
@@ -25,6 +24,7 @@ Click on `Use this template`
2524
- 100% Lua
2625
- Github actions to run tests and check for formatting errors (Stylua)
2726
- Tests created with [busted](https://olivinelabs.com/busted/) + [plenary.nvim](https://github.com/nvim-lua/plenary.nvim)
27+
- luarocks release support (LUAROCKS_API_KEY secret configuration required)
2828

2929
### Plugin structure
3030

0 commit comments

Comments
 (0)