From dfa7ae6adf4231aece17a23dc05d89153dd71661 Mon Sep 17 00:00:00 2001 From: Dave Corley Date: Sun, 24 Nov 2024 13:30:39 -0600 Subject: [PATCH] FEAT: Also include binaries in releases --- .github/workflows/LuaJIT.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/LuaJIT.yml b/.github/workflows/LuaJIT.yml index 8aa564b126..998b64f42c 100644 --- a/.github/workflows/LuaJIT.yml +++ b/.github/workflows/LuaJIT.yml @@ -16,6 +16,7 @@ jobs: target_system: [ ubuntu-22.04, windows-2022, macos-11 ] runs-on: ${{ matrix.target_system }} env: + BUILD_EXT_BIN: ${{ matrix.target_system == 'windows-2022' && '.exe' || '' }} BUILD_EXT_DYN: ${{ matrix.target_system == 'windows-2022' && '.dll' || '.so' }} BUILD_EXT_STAT: ${{ matrix.target_system == 'windows-2022' && '.lib' || '.a' }} BUILD_PREFIX: ${{ matrix.target_system != 'windows-2022' && 'lib' || ''}} @@ -39,6 +40,7 @@ jobs: mkdir bin include lib lua cd src mv jit ../lua + mv ${{ env.LIB_NAME }}${{ env.BUILD_EXT_BIN }} ../bin mv ${{ env.BUILD_PREFIX }}${{ env.LIB_NAME }}${{ env.BUILD_EXT_DYN }} ../bin mv ${{ env.BUILD_PREFIX }}${{ env.LIB_NAME }}${{ env.BUILD_EXT_STAT }} ../lib mv lauxlib.h lua.h lua.hpp luaconf.h luajit.h lualib.h ../include