From f5790160e8d625ff66069f42f8aaa59faf072458 Mon Sep 17 00:00:00 2001 From: Alexey Chernyshov <65975574+artifixer@users.noreply.github.com> Date: Sat, 11 Dec 2021 20:13:47 +0300 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2ef07848..a5641c2c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -40,17 +40,20 @@ jobs: New-Item -ItemType directory -Force -Path $path; $gameversions = Get-Content -Path supported-game-versions.txt; # Get all implementations except the minimal version (last element) - # Last entry is the Minimal version. We will use Bannerlord.ButterLib.dll from there + # Last entry is the Minimal version. We will use Bannerlord.Diplomacy.dll from there For ($i = 0; $i -le $gameversions.Length - 1; $i++) { $gameversion = $gameversions[$i]; $version = $gameversion.substring(1); $constgameversion = $gameversion.replace(".", ""); + echo "::group::Build for $gameversion" + echo "Start building for gameversion = $gameversion" dotnet clean $proj --configuration Release; dotnet build $proj --configuration Release -p:OverrideGameVersion=$gameversion -p:GameFolder="$path" -p:ConstGameVersionWithPrefix="$constgameversion"; # Copy Implementations to the Implementations folder Copy-Item $pdll $impl/; Copy-Item $ppdb $impl/; + echo "::endgroup::" } # Copy Implementations to the Module Copy-Item $impl/* $final;