From d92fb3f83fb0dfce4b75b9ecf266ee9e1062fc89 Mon Sep 17 00:00:00 2001 From: Sinai <49360850+sinai-dev@users.noreply.github.com> Date: Sat, 29 May 2021 17:27:52 +1000 Subject: [PATCH] Update dotnet.yml --- .github/workflows/dotnet.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 61e1b56..9984bff 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -27,17 +27,17 @@ jobs: # Build HarmonyX - name: Build HarmonyX shell: cmd - run: msbuild lib\HarmonyX\Harmony\Harmony.csproj -t:Rebuild -p:Platform="Any CPU" -p:Configuration=Release + run: msbuild lib\HarmonyX\Harmony\Harmony.csproj -t:Restore -t:Rebuild -p:Platform="Any CPU" -p:Configuration=Release # Build Il2CppAssemblyUnhollower - name: Build Il2CppAssemblyUnhollower shell: cmd - run: msbuild lib\Il2CppAssemblyUnhollower\UnhollowerBaseLib\UnhollowerBaseLib.csproj -t:Rebuild -p:Platform="Any CPU" -p:Configuration:Release + run: msbuild lib\Il2CppAssemblyUnhollower\UnhollowerBaseLib\UnhollowerBaseLib.csproj -t:Restore -t:Rebuild -p:Platform="Any CPU" -p:Configuration:Release # Build mcs - name: Build mcs shell: cmd - run: msbuild lib\mcs-unity\mcs\mcs.csproj -t:Rebuild -p:Platform="Any CPU" -p:Configuration:Release + run: msbuild lib\mcs-unity\mcs\mcs.csproj -t:Restore -t:Rebuild -p:Platform="Any CPU" -p:Configuration:Release # Restore NuGet packages - name: Restore NuGet