From 2fb7fb4b5f082aabb61863a41611e1420ce01805 Mon Sep 17 00:00:00 2001 From: 7mochi Date: Thu, 12 Sep 2024 22:10:28 -0500 Subject: [PATCH] chore: add build step for windows 2019 --- .github/workflows/release.yml | 33 ++++++++++++++++++++++++++++++--- 1 file changed, 30 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ae591cf..00ff469 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,7 +4,7 @@ on: push: jobs: - build: + build-linux: runs-on: ubuntu-latest container: centos:centos7 env: @@ -25,11 +25,11 @@ jobs: with: node-version: 12 - - name: Checkout LLHL AGMOD repository + - name: Clone LLHL AGMOD repository run: | git clone https://github.com/7mochi/llhl-agmod - - name: Checkout LLHL repository + - name: Clone LLHL repository run: | git clone https://github.com/7mochi/llhl cd llhl && git checkout 3.0-stable && cd $GITHUB_WORKSPACE @@ -60,3 +60,30 @@ jobs: - name: Prepare releases in zip run: | cd llhl/dist && zip -r ../llhl-${{github.ref_name}}-linux.zip * + + build-windows: + runs-on: windows-2019 + + steps: + - name: Install NodeJS + uses: actions/setup-node@v3 + with: + node-version: 20 + + - name: Clone LLHL AGMOD repository + run: | + git clone https://github.com/7mochi/llhl-agmod + + - name: Clone LLHL repository + run: | + git clone https://github.com/7mochi/llhl + cd llhl && git checkout 3.0-stable && cd $GITHUB_WORKSPACE + + - name: Build LLHL AGMOD serverfile .dll + run: | + cd llhl-agmod + + msbuild multiplayer.sln -target:ag /p:Configuration=Release + + cd $GITHUB_WORKSPACE + \ No newline at end of file