From 7b9ccdc7ff9587bfdf5efbe0e7dd0f3b66a0e84d Mon Sep 17 00:00:00 2001 From: bzp2010 Date: Wed, 4 Jun 2025 10:38:23 +0800 Subject: fix: use specific luarocks version --- .github/workflows/test.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f973b30b..aaf025db 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -46,6 +46,8 @@ jobs: luaVersion: ${{ matrix.lua-version }} - uses: leafo/gh-actions-luarocks@v5 + with: + luaRocksVersion: "3.11.2" - name: 'Setup macOS deps' if: ${{ contains(matrix.os, 'macos') }} @@ -594,11 +596,11 @@ jobs: SET "CURRENT_LUA_BIN=%CURRENT_LUA_DIR%\bin" SET "CURRENT_LUA_INTERPRETER=%CURRENT_LUA_BIN%\lua.exe" - pip install hererocks && ^ + pip install git+https://github.com/luarocks/hererocks && ^ hererocks ^ "%CURRENT_LUA_DIRNAME%" ^ "--${{ matrix.LUAT }}" "${{ matrix.LUAV }}" ^ - --luarocks latest ^ + --luarocks "@418d2ab34891b130cc317df32f65f978640febcf" ^ "--target=${{ matrix.COMPILER }}" IF %ERRORLEVEL% NEQ 0 ( -- cgit v1.2.3-55-g6feb