From c71e18050ee5282e3d1672ff1e29e25bf510d521 Mon Sep 17 00:00:00 2001 From: Adam Hathcock Date: Mon, 13 May 2024 08:55:14 +0100 Subject: [PATCH] add back msbuild to build path --- .github/workflows/dotnet.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index b8eb6676e7..47d37be51f 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -11,20 +11,29 @@ jobs: build: runs-on: windows-latest steps: - - uses: actions/checkout@v4 + - name: Checkout + uses: actions/checkout@v4 + - name: Setup .NET uses: actions/setup-dotnet@v4 with: dotnet-version: 7.x.x + - name: NuGet Cache uses: actions/cache@v4 with: path: ~/.nuget/packages - key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }} + key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }} + + - name: Add msbuild to PATH + uses: microsoft/setup-msbuild@v2 + - name: Restore run: dotnet run --project Build/Build.csproj -- restore + - name: Build run: dotnet run --project Build/Build.csproj -- build + - name: Upload artifacts uses: actions/upload-artifact@v4 with: