From 18e24acbea4b7536ce71e92de9e5563a1fbf587a Mon Sep 17 00:00:00 2001 From: NStefan002 Date: Sun, 10 Nov 2024 17:43:47 +0100 Subject: [PATCH] ci(luarocks): luarocks upload action --- .github/workflows/luarocks.yml | 18 ++++++++++++++++++ wormhole.nvim-scm-1.rockspec | 23 +++++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 .github/workflows/luarocks.yml create mode 100644 wormhole.nvim-scm-1.rockspec diff --git a/.github/workflows/luarocks.yml b/.github/workflows/luarocks.yml new file mode 100644 index 0000000..b1d415a --- /dev/null +++ b/.github/workflows/luarocks.yml @@ -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 }} diff --git a/wormhole.nvim-scm-1.rockspec b/wormhole.nvim-scm-1.rockspec new file mode 100644 index 0000000..72db242 --- /dev/null +++ b/wormhole.nvim-scm-1.rockspec @@ -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", + }, +}