mirror of
https://github.com/hexedtech/codemp.git
synced 2024-11-22 15:24:48 +01:00
ci(lua): rename before uploading
This commit is contained in:
parent
53bfaf1d9a
commit
1c90cc36bf
1 changed files with 6 additions and 3 deletions
9
.github/workflows/lua.yml
vendored
9
.github/workflows/lua.yml
vendored
|
@ -18,19 +18,22 @@ jobs:
|
|||
platform:
|
||||
- runner: ubuntu-latest
|
||||
target: linux-x64-gnu
|
||||
filename: libcodemp.so
|
||||
ext: so
|
||||
pre: lib
|
||||
- runner: windows-latest
|
||||
target: win32-x64
|
||||
filename: codemp.dll
|
||||
ext: dll
|
||||
pre:
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
- uses: arduino/setup-protoc@v3
|
||||
- run: cargo build --release --features=lua
|
||||
- run: mv target/release/${{ matrix.platform.pre}}codemp.${{ matrix.platform.ext }} dist/lua/codemp-lua-${{ matrix.platform.target }}.${{ matrix.platform.ext }}
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: codemp-lua-${{ matrix.platform.target }}
|
||||
path: target/release/${{ matrix.platform.filename }}
|
||||
path: dist/lua/codemp-lua-${{ matrix.platform.target }}.${{ matrix.platform.ext }}
|
||||
|
||||
# macos requires some extra cargo config to make it work, but
|
||||
# these settings make test fail so better limit them to this run
|
||||
|
|
Loading…
Reference in a new issue