Skip to content

Commit

Permalink
Fix package validation
Browse files Browse the repository at this point in the history
Add ` --allow-roll-forward` to fix the `validate-packages` step on Ubuntu 24.04.
  • Loading branch information
martincostello committed Jan 13, 2025
1 parent 59d8dcf commit c66d8ca
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 @@ -140,7 +140,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 c66d8ca

Please sign in to comment.