feat: rockspec

This commit is contained in:
Barrett Ruth 2025-11-08 13:12:54 -05:00
parent e98eae3ee7
commit f2cc0e16a9
2 changed files with 24 additions and 0 deletions

18
.github/workflows/luarocks.yaml vendored Normal file
View file

@ -0,0 +1,18 @@
name: Release
on:
push:
tags:
- '*'
workflow_dispatch:
jobs:
publish-luarocks:
name: Publish to LuaRocks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Publish to LuaRocks
uses: nvim-neorocks/luarocks-tag-release@v7
env:
LUAROCKS_API_KEY: ${{ secrets.LUAROCKS_API_KEY }}

View file

@ -0,0 +1,6 @@
rockspec_format = '3.0'
package = 'midnight.nvim'
version = 'scm-1'
source = { url = 'git://github.com/barrett-ruth/midnight.nvim' }
build = { type = 'builtin' }