mirror of https://github.com/rxi/json.lua.git
20 lines
514 B
YAML
20 lines
514 B
YAML
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
|
|
types:
|
|
- opened
|
|
|
|
jobs:
|
|
luarocks-release:
|
|
runs-on: ubuntu-latest
|
|
name: LuaRocks upload
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
- name: LuaRocks Upload
|
|
uses: nvim-neorocks/luarocks-tag-release@v5
|
|
env:
|
|
LUAROCKS_API_KEY: ${{ secrets.LUAROCKS_API_KEY }} |