Skip to content

Commit 8d102c3

Browse files
author
bekaboo
committed
ci: add luarocks workflow
1 parent fa43ea3 commit 8d102c3

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/luarocks.yml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: push-to-luarocks
2+
3+
on:
4+
push:
5+
tags: # Will upload to luarocks.org when a tag is pushed
6+
- "*"
7+
pull_request: # Will test a local install without uploading to luarocks.org
8+
workflow_dispatch:
9+
10+
jobs:
11+
luarocks-upload:
12+
runs-on: ubuntu-22.04
13+
steps:
14+
- uses: actions/checkout@v3
15+
- name: LuaRocks Upload
16+
uses: nvim-neorocks/luarocks-tag-release@v5
17+
env:
18+
LUAROCKS_API_KEY: ${{ secrets.LUAROCKS_API_KEY }}

0 commit comments

Comments
 (0)