Skip to content

Commit

Permalink
Allow roll-forward for dotnet-validate
Browse files Browse the repository at this point in the history
Fix package validation by allowing `dotnet-validate` to roll-forward to a newer .NET runtime than .NET 6.
  • Loading branch information
martincostello committed Dec 18, 2024
1 parent e8387fb commit 36bf850
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ jobs:
env:
DOTNET_VALIDATE_VERSION: ${{ needs.build.outputs.dotnet-validate-version }}
run: |
dotnet tool install --global dotnet-validate --version ${env:DOTNET_VALIDATE_VERSION}
dotnet tool install --global dotnet-validate --version ${env:DOTNET_VALIDATE_VERSION} --allow-roll-forward
$packages = Get-ChildItem -Filter "*.nupkg" | ForEach-Object { $_.FullName }
$invalidPackages = 0
foreach ($package in $packages) {
Expand Down

0 comments on commit 36bf850

Please sign in to comment.