Skip to content

Commit

Permalink
Install nuget manually
Browse files Browse the repository at this point in the history
  • Loading branch information
PrincessMadMath committed Dec 17, 2024
1 parent 6929764 commit 898bcac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion Build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
Expand Down

0 comments on commit 898bcac

Please sign in to comment.