From 422c365f740f0196f31b94efec3e4577d96bfc43 Mon Sep 17 00:00:00 2001 From: Tu Dinh <1257909+dinhngtu@users.noreply.github.com> Date: Sun, 25 Feb 2024 23:39:52 +0100 Subject: [PATCH] workflow: restore before building --- .github/workflows/build.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bc2da60..23b81f3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,13 +16,19 @@ jobs: - name: Add MSBuild to PATH uses: microsoft/setup-msbuild@v2 - + + - name: Restore Win32 + run: msbuild -m -target:Restore -p:Configuration=Release -p:Platform=Win32 . + + - name: Restore x64 + run: msbuild -m -target:Restore -p:Configuration=Release -p:Platform=x64 . + - name: Build DLL Win32 run: msbuild -m -target:VietTypeATL:Rebuild -p:Configuration=Release -p:Platform=Win32 . - + - name: Build DLL x64 run: msbuild -m -target:VietTypeATL:Rebuild -p:Configuration=Release -p:Platform=x64 . - + - name: Build Config run: msbuild -m -target:VietTypeConfig:Rebuild -p:Configuration=Release -p:Platform=Win32 .