Skip to content

Commit

Permalink
Use windows instead
Browse files Browse the repository at this point in the history
  • Loading branch information
PrincessMadMath committed Dec 17, 2024
1 parent 898bcac commit 3f651ae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ concurrency:

jobs:
main:
runs-on: ubuntu-latest
# We need windows to use nuget
runs-on: windows-latest

steps:
- uses: actions/checkout@v4
Expand All @@ -29,9 +30,6 @@ 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.exe pack Workleap.DotNet.CodingStandards.nuspec -OutputDirectory $outputDir -Version $version -ForceEnglishOutput }
Exec { & nuget 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 3f651ae

Please sign in to comment.