From 83982bb3231eaff98ba173eba682b16e999324cc Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Wed, 9 Nov 2022 19:07:36 +0100 Subject: [PATCH] Combine restore and packing for WinUI package --- .github/workflows/dotnet.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 7cf75026..73c9a02e 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -57,12 +57,12 @@ jobs: - name: Build ComputeSharp.Uwp package run: msbuild src\ComputeSharp.Uwp\ComputeSharp.Uwp.csproj -t:restore,build,pack /p:Configuration=Release shell: cmd - - name: Restore ComputeSharp.WinUI project - run: msbuild src\ComputeSharp.WinUI\ComputeSharp.WinUI.csproj -t:restore /p:Configuration=Release - shell: cmd - - name: Build ComputeSharp.WinUI package - run: msbuild src\ComputeSharp.WinUI\ComputeSharp.WinUI.csproj -t:pack /p:Configuration=Release - shell: cmd # Packing needs to be done separately and with no previous build target for it to work correctly + + # Packing needs to be done separately and with no previous build target for this to work correctly + - name: Build ComputeSharp.WinUI project + run: > + msbuild src\ComputeSharp.WinUI\ComputeSharp.WinUI.csproj -t:restore /p:Configuration=Release; + msbuild src\ComputeSharp.WinUI\ComputeSharp.WinUI.csproj -t:pack /p:Configuration=Release - name: Upload package artifacts uses: actions/upload-artifact@v3 with: