diff --git a/.github/workflows/luarocks.yaml b/.github/workflows/luarocks.yaml new file mode 100644 index 0000000..c64568f --- /dev/null +++ b/.github/workflows/luarocks.yaml @@ -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 }} diff --git a/midnight.nvim-scm-1.rockspec b/midnight.nvim-scm-1.rockspec new file mode 100644 index 0000000..95763a9 --- /dev/null +++ b/midnight.nvim-scm-1.rockspec @@ -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' }