From feec29ed74d921106a665e85fdc0fcec02faf613 Mon Sep 17 00:00:00 2001 From: jklingen Date: Sun, 5 Jan 2025 11:38:15 +0100 Subject: [PATCH] Install MSBuild --- .github/workflows/release.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3728c6b2d..579816180 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,13 +29,10 @@ jobs: with: fetch-depth: 0 - - name: Set up .NET - uses: actions/setup-dotnet@v3 - with: - dotnet-version: '5.x.x' - - - name: Install NuGet - uses: NuGet/setup-nuget@v1 + - name: Install MSBuild + run: | + choco install microsoft-build-tools -y + echo '##[add-path]C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin' - name: Restore NuGet packages run: nuget restore src/Greenshot.sln