Skip to content

Commit

Permalink
ci(luarocks): luarocks upload action
Browse files Browse the repository at this point in the history
  • Loading branch information
NStefan002 committed Nov 10, 2024
1 parent d3d22f8 commit 18e24ac
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/luarocks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
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@v3
- name: LuaRocks Upload
uses: nvim-neorocks/luarocks-tag-release@v7
env:
LUAROCKS_API_KEY: ${{ secrets.LUAROCKS_API_KEY }}
23 changes: 23 additions & 0 deletions wormhole.nvim-scm-1.rockspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
rockspec_format = "3.0"
package = "wormhole.nvim"
version = "scm-1"

local user = "NStefan002"

source = {
url = "git+https://github.com/" .. user .. "/" .. package,
}
description = {
homepage = "https://github.com/" .. user .. "/" .. package,
labels = { "neovim", "neovim-plugin" },
license = "MIT",
summary = "Assign labels to windows and jump effortlessly with a single keypress.",
}
dependencies = {}
test_dependencies = {}
build = {
type = "builtin",
copy_directories = {
"plugin",
},
}

0 comments on commit 18e24ac

Please sign in to comment.