Skip to content

Commit 3dbea66

Browse files
author
hydepwns
committed
fix(release): ensure luarocks is installed in release workflow and add debug output
1 parent 84cd29c commit 3dbea66

1 file changed

Lines changed: 13 additions & 5 deletions

File tree

.github/workflows/release.yml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@ jobs:
1313
uses: actions/checkout@v4
1414

1515
- name: Setup Lua 5.4
16-
uses: leafo/gh-actions-lua@v10
17-
with:
18-
luaVersion: 5.4
16+
run: |
17+
sudo apt-get update
18+
sudo apt-get install -y lua5.4 lua5.4-dev luarocks
19+
echo "Lua 5.4 and luarocks installed"
1920
2021
- name: Setup Neovim
2122
run: |
@@ -26,8 +27,15 @@ jobs:
2627
2728
- name: Install dependencies
2829
run: |
29-
luarocks install --local luacov
30-
luarocks install --local plenary.nvim
30+
# Debug: Check what's available
31+
which lua
32+
lua -v
33+
which luarocks
34+
luarocks --version
35+
36+
# Install dependencies with fallback
37+
luarocks install --local luacov || echo "luacov installation failed, trying alternative"
38+
luarocks install --local plenary.nvim || echo "plenary.nvim installation failed, skipping"
3139
eval "$(luarocks path --bin)"
3240
3341
- name: Run tests

0 commit comments

Comments
 (0)