From db2ea3feaf4619f15e94e5af25e0f4a819c04754 Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Sun, 21 Nov 2021 02:03:08 +0100 Subject: [PATCH] Fix packing for WinUI project --- .github/workflows/dotnet.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 35a43c01..df1c64ce 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -239,8 +239,11 @@ jobs: with: dotnet-version: 6.0.x - name: Build - run: msbuild src\ComputeSharp.WinUI\ComputeSharp.WinUI.csproj -t:restore,build,pack /p:Configuration=Release /p:ContinuousIntegrationBuild=True + run: msbuild src\ComputeSharp.WinUI\ComputeSharp.WinUI.csproj -t:restore /p:Configuration=Release /p:ContinuousIntegrationBuild=True shell: cmd + - name: Build + run: msbuild src\ComputeSharp.WinUI\ComputeSharp.WinUI.csproj -t:pack /p:Configuration=Release /p:ContinuousIntegrationBuild=True + shell: cmd # Packing needs to be done separately and with no previous build target for it to work correctly - name: Upload package artifact uses: actions/upload-artifact@v2 with: