Skip to content

Commit dfa7ae6

Browse files
committed
FEAT: Also include binaries in releases
1 parent b0436d2 commit dfa7ae6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/LuaJIT.yml

+2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616
target_system: [ ubuntu-22.04, windows-2022, macos-11 ]
1717
runs-on: ${{ matrix.target_system }}
1818
env:
19+
BUILD_EXT_BIN: ${{ matrix.target_system == 'windows-2022' && '.exe' || '' }}
1920
BUILD_EXT_DYN: ${{ matrix.target_system == 'windows-2022' && '.dll' || '.so' }}
2021
BUILD_EXT_STAT: ${{ matrix.target_system == 'windows-2022' && '.lib' || '.a' }}
2122
BUILD_PREFIX: ${{ matrix.target_system != 'windows-2022' && 'lib' || ''}}
@@ -39,6 +40,7 @@ jobs:
3940
mkdir bin include lib lua
4041
cd src
4142
mv jit ../lua
43+
mv ${{ env.LIB_NAME }}${{ env.BUILD_EXT_BIN }} ../bin
4244
mv ${{ env.BUILD_PREFIX }}${{ env.LIB_NAME }}${{ env.BUILD_EXT_DYN }} ../bin
4345
mv ${{ env.BUILD_PREFIX }}${{ env.LIB_NAME }}${{ env.BUILD_EXT_STAT }} ../lib
4446
mv lauxlib.h lua.h lua.hpp luaconf.h luajit.h lualib.h ../include

0 commit comments

Comments
 (0)