ci: add release workflow for luarocks upload (#4109)

This commit is contained in:
Marc Jakobi 2023-02-22 19:15:43 +01:00 committed by GitHub
parent a4b72d4f7f
commit ba35d094c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 60 additions and 32 deletions

18
.github/workflows/release.yml vendored Normal file
View file

@ -0,0 +1,18 @@
name: "release"
on:
push:
tags:
- '*'
jobs:
luarocks-upload:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
uses: nvim-neorocks/luarocks-tag-release@v1.0.2
env:
LUAROCKS_API_KEY: ${{ secrets.LUAROCKS_API_KEY }}
with:
detailed_description: |
The goal of nvim-treesitter is both to provide a simple and easy way to use the interface for tree-sitter in Neovim
and to provide some basic functionality such as highlighting based on it.
build_type: "make"