From a917270f97970ac49a1b43bf2b8f2cfd23a068f6 Mon Sep 17 00:00:00 2001 From: 7mochi Date: Thu, 12 Sep 2024 22:21:54 -0500 Subject: [PATCH] chore: add missing steps for windows build --- .github/workflows/release.yml | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 621aa17..b2394ee 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -89,4 +89,22 @@ jobs: msbuild multiplayer.sln -target:ag /p:Configuration=Release cd $GITHUB_WORKSPACE - \ No newline at end of file + + - name: Build LLHL proyect (Windows) with node-amxxpack + run: | + cd llhl && make init-windows && make build-windows + + - name: Download latest AMX Mod X 1.9 + run: | + wget "https://www.amxmodx.org/latest.php?version=1.9&os=windows&package=base" -O amxx.zip + unzip amxx.zip -d llhl/dist/ag + + - name: Create folder and move LLHL AGMOD .dll + run: | + mkdir llhl/dist/ag/dlls + move llhl-agmod/dlls/ag.dll llhl/dist/ag/ag.dll + move llhl-agmod/network/delta.lst llhl/dist/ag/delta.lst + + - name: Prepare releases in zip + run: | + cd llhl/dist && zip -r ../llhl-${{github.ref_name}}-linux.zip * \ No newline at end of file