diff options
| author | bzp2010 <bzp2010@apache.org> | 2025-06-04 10:38:23 +0800 |
|---|---|---|
| committer | Hisham Muhammad <hisham@gobolinux.org> | 2025-06-05 11:41:33 -0300 |
| commit | 7b9ccdc7ff9587bfdf5efbe0e7dd0f3b66a0e84d (patch) | |
| tree | 2c50d5e814c2e6276162f63f2b4deb7c13a1f1f2 | |
| parent | 418d2ab34891b130cc317df32f65f978640febcf (diff) | |
| download | luarocks-7b9ccdc7ff9587bfdf5efbe0e7dd0f3b66a0e84d.tar.gz luarocks-7b9ccdc7ff9587bfdf5efbe0e7dd0f3b66a0e84d.tar.bz2 luarocks-7b9ccdc7ff9587bfdf5efbe0e7dd0f3b66a0e84d.zip | |
fix: use specific luarocks version
| -rw-r--r-- | .github/workflows/test.yml | 6 |
1 files 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: | |||
| 46 | luaVersion: ${{ matrix.lua-version }} | 46 | luaVersion: ${{ matrix.lua-version }} |
| 47 | 47 | ||
| 48 | - uses: leafo/gh-actions-luarocks@v5 | 48 | - uses: leafo/gh-actions-luarocks@v5 |
| 49 | with: | ||
| 50 | luaRocksVersion: "3.11.2" | ||
| 49 | 51 | ||
| 50 | - name: 'Setup macOS deps' | 52 | - name: 'Setup macOS deps' |
| 51 | if: ${{ contains(matrix.os, 'macos') }} | 53 | if: ${{ contains(matrix.os, 'macos') }} |
| @@ -594,11 +596,11 @@ jobs: | |||
| 594 | SET "CURRENT_LUA_BIN=%CURRENT_LUA_DIR%\bin" | 596 | SET "CURRENT_LUA_BIN=%CURRENT_LUA_DIR%\bin" |
| 595 | SET "CURRENT_LUA_INTERPRETER=%CURRENT_LUA_BIN%\lua.exe" | 597 | SET "CURRENT_LUA_INTERPRETER=%CURRENT_LUA_BIN%\lua.exe" |
| 596 | 598 | ||
| 597 | pip install hererocks && ^ | 599 | pip install git+https://github.com/luarocks/hererocks && ^ |
| 598 | hererocks ^ | 600 | hererocks ^ |
| 599 | "%CURRENT_LUA_DIRNAME%" ^ | 601 | "%CURRENT_LUA_DIRNAME%" ^ |
| 600 | "--${{ matrix.LUAT }}" "${{ matrix.LUAV }}" ^ | 602 | "--${{ matrix.LUAT }}" "${{ matrix.LUAV }}" ^ |
| 601 | --luarocks latest ^ | 603 | --luarocks "@418d2ab34891b130cc317df32f65f978640febcf" ^ |
| 602 | "--target=${{ matrix.COMPILER }}" | 604 | "--target=${{ matrix.COMPILER }}" |
| 603 | 605 | ||
| 604 | IF %ERRORLEVEL% NEQ 0 ( | 606 | IF %ERRORLEVEL% NEQ 0 ( |
