chore(main): release 3.8.3 #50
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Luarocks release SCM | |
on: | |
workflow_dispatch: # allows manual triggering | |
# schedule: | |
# - cron: '0 0 * * *' # runs daily at 00:00 | |
pull_request: # Will test a local install without uploading to luarocks.org | |
jobs: | |
luarocks-upload: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # Required to count the commits | |
- name: Set luarocks version | |
run: echo "LUAROCKS_SPECREV=$(git log --oneline | wc -l)" >> $GITHUB_ENV | |
- name: Get new commits | |
run: echo "NEW_COMMIT_COUNT=$(git log --oneline --since '24 hours ago' | wc -l)" >> $GITHUB_ENV | |
- name: LuaRocks Upload (scm) | |
uses: nvim-neorocks/luarocks-tag-release@v7 | |
if: ${{ env.NEW_COMMIT_COUNT > 0 }} | |
env: | |
LUAROCKS_API_KEY: ${{ secrets.LUAROCKS_API_KEY }} | |
with: | |
version: scm | |
specrev: ${{ env.LUAROCKS_SPECREV }} | |
detailed_description: | | |
A very fast, powerful, extensible and asynchronous Neovim HTTP client written in Lua. | |
rest.nvim by default makes use of its own `curl` wrapper to make requests and a tree-sitter parser to parse http files. | |
dependencies: | | |
nvim-nio | |
mimetypes | |
xml2lua | |
fidget.nvim | |
test_dependencies: | | |
nlua | |
copy_directories: | | |
{{ neovim.plugin.dirs }} |