diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 85564b6b2..b153c572d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,9 +32,12 @@ jobs: with: dotnet-version: '5.0.100' + - name: Install Microsoft.Build.Utilities.v4.0 + run: nuget install Microsoft.Build.Utilities.v4.0 -Version 4.0.0 -OutputDirectory packages + - name: Restore nuget packages and generate credential templates run: | - dotnet msbuild src/Greenshot.sln /restore /t:PrepareForBuild /p:Configuration=Release /p:Platform="Any CPU" + dotnet msbuild src/Greenshot.sln /restore /t:PrepareForBuild /p:Configuration=Release /p:Platform="Any CPU" /p:MSBuildExtensionsPath=$(pwd)/packages/MSBuild.Community.Tasks.1.5.0.235/tools - name: Build and package run: |