Skip to content

Commit

Permalink
feat(luarocks): Add dev version to luarocks
Browse files Browse the repository at this point in the history
  • Loading branch information
kristijanhusak committed Aug 22, 2024
1 parent 16cf859 commit 4616941
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/luarocks_dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Push dev to Luarocks

on:
push:
branches:
- master

jobs:
luarocks-upload:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Required to count the commits
- name: Install C/C++ Compiler
uses: rlalik/setup-cpp-compiler@master
with:
compiler: clang-latest
- name: Install tree-sitter CLI
uses: baptiste0928/cargo-install@v3
with:
crate: tree-sitter-cli
- name: Install Lua
uses: leso-kn/gh-actions-lua@master
with:
luaVersion: "5.1"
- name: Install Luarocks
uses: hishamhm/gh-actions-luarocks@master
- name: Install `luarocks-build-treesitter-parser` Package
run: |
luarocks --verbose --local --lua-version=5.1 install luarocks-build-treesitter-parser
- name: LuaRocks Upload
uses: nvim-neorocks/luarocks-tag-release@v7
env:
LUAROCKS_API_KEY: ${{ secrets.LUAROCKS_API_KEY }}
with:
version: "dev"
dependencies: |
tree-sitter-orgmode ~> 1

0 comments on commit 4616941

Please sign in to comment.