File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed
Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -14,25 +14,25 @@ jobs:
1414 steps :
1515 - uses : actions/checkout@v4
1616
17- - name : Set up Lua
18- uses : leafo/gh-actions-lua@v11
17+ - name : Publish to LuaRocks
18+ uses : nvim-neorocks/luarocks-tag-release@v7
19+ env :
20+ LUAROCKS_API_KEY : ${{ secrets.LUAROCKS_API_KEY }}
1921 with :
20- luaVersion : " 5.4.8"
21-
22- - name : Set up LuaRocks
23- uses : leafo/gh-actions-luarocks@v5
22+ name : luarocks-build-lls-addon
23+ test_dependencies : |
24+ luarocks >= 3.11.1
25+ busted ~> 2.2
26+ luafilesystem ~> 1.8
27+ inspect ~> 3.1
28+ md5 ~> 1.3
29+ copy_directories : " "
2430
2531 - name : Get Rockspec Version
2632 run : |
2733 [[ "${{ github.ref_name }}" =~ ^v(.+)$ ]]
2834 echo "spec_version=${BASH_REMATCH[1]}" >> $GITHUB_ENV
2935
30- - name : Publish to LuaRocks
31- run : |
32- luarocks upload \
33- "rockspec/luarocks-build-lls-addon-${spec_version}.rockspec" \
34- --api-key=${{ secrets.LUAROCKS_API_KEY }}
35-
3636 - name : Create GitHub Release
3737 uses : softprops/action-gh-release@v2
3838 with :
You can’t perform that action at this time.
0 commit comments