diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 77c9ca7..46635d8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,6 +29,9 @@ jobs: env: NUGET_AUTH_TOKEN: ${{ secrets.GSOFT_NUGET_API_KEY }} + - name: Install NuGet + run: wget https://dist.nuget.org/win-x86-commandline/latest/nuget.exe -OutFile nuget.exe + - run: ./Build.ps1 shell: pwsh env: diff --git a/Build.ps1 b/Build.ps1 index 27802f2..88da709 100644 --- a/Build.ps1 +++ b/Build.ps1 @@ -31,7 +31,7 @@ Process { Exec { & dotnet run --project=tools/ConfigurationFilesGenerator/ConfigurationFilesGenerator.csproj --configuration Release } # Pack using NuGet.exe - Exec { & nuget pack Workleap.DotNet.CodingStandards.nuspec -OutputDirectory $outputDir -Version $version -ForceEnglishOutput } + Exec { & .\nuget.exe pack Workleap.DotNet.CodingStandards.nuspec -OutputDirectory $outputDir -Version $version -ForceEnglishOutput } # Run tests Exec { & dotnet test --configuration Release --logger "console;verbosity=detailed" }