Skip to content

fix: don't use tree-sitter to get module name for mod snippet (#28) #24

fix: don't use tree-sitter to get module name for mod snippet (#28)

fix: don't use tree-sitter to get module name for mod snippet (#28) #24

Workflow file for this run

---
name: "Luarocks release"
on:
push:
tags:
- '*.*.*'
pull_request:
jobs:
luarocks-release:
runs-on: ubuntu-latest
name: Release
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Luarocks Upload
uses: nvim-neorocks/luarocks-tag-release@v5
env:
LUAROCKS_API_KEY: ${{ secrets.LUAROCKS_API_KEY }}
with:
dependencies: |
luasnip
- name: Fail if changelog entry does not exist
if: startsWith(github.ref, 'refs/tags/')
run: grep -q "${{ github.ref_name }}" CHANGELOG.md
- name: GitHub release
if: startsWith(github.ref, 'refs/tags/')
uses: ncipollo/release-action@v1
with:
bodyFile: "CHANGELOG.md"
allowUpdates: true