Skip to content

Commit

Permalink
ci: release to luarocks when a new tag is pushed
Browse files Browse the repository at this point in the history
  • Loading branch information
mikavilpas committed Jun 18, 2024
1 parent 60f589e commit b313793
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/release-luarocks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# https://github.com/marketplace/actions/luarocks-tag-release
name: LuaRocks release
on:
push:
tags: # Will upload to luarocks.org when a tag is pushed
- "*"
pull_request: # Will test a local install without uploading to luarocks.org

jobs:
luarocks-release:
runs-on: ubuntu-latest
name: LuaRocks upload
steps:
- name: Checkout
uses: actions/checkout@v4
- name: LuaRocks Upload
uses: nvim-neorocks/luarocks-tag-release@v6
env:
LUAROCKS_API_KEY: ${{ secrets.LUAROCKS_API_KEY }}
with:
# https://github.com/marketplace/actions/luarocks-tag-release#dependencies
dependencies: |
plenary.nvim

0 comments on commit b313793

Please sign in to comment.