File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Push dev to Luarocks
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+
8
+ jobs :
9
+ luarocks-upload :
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - uses : actions/checkout@v4
13
+ with :
14
+ fetch-depth : 0 # Required to count the commits
15
+ - name : Install C/C++ Compiler
16
+ uses : rlalik/setup-cpp-compiler@master
17
+ with :
18
+ compiler : clang-latest
19
+ - name : Install tree-sitter CLI
20
+ uses : baptiste0928/cargo-install@v3
21
+ with :
22
+ crate : tree-sitter-cli
23
+ - name : Install Lua
24
+ uses : leso-kn/gh-actions-lua@master
25
+ with :
26
+ luaVersion : " 5.1"
27
+ - name : Install Luarocks
28
+ uses : hishamhm/gh-actions-luarocks@master
29
+ - name : Install `luarocks-build-treesitter-parser` Package
30
+ run : |
31
+ luarocks --verbose --local --lua-version=5.1 install luarocks-build-treesitter-parser
32
+ - name : LuaRocks Upload
33
+ uses : nvim-neorocks/luarocks-tag-release@v7
34
+ env :
35
+ LUAROCKS_API_KEY : ${{ secrets.LUAROCKS_API_KEY }}
36
+ with :
37
+ version : " dev"
38
+ dependencies : |
39
+ tree-sitter-orgmode ~> 1
You can’t perform that action at this time.
0 commit comments