oliver-butterley / lean-update

The action attempts to update Lean and Mathlib. If an update is available then the updated version is tested. This allows for automatic committing of the updated project, opening PRs or opening issues.
MIT License
6 stars 2 forks source link

Exception calling ".ctor" with "1" argument(s): #37

Closed Seasawher closed 1 month ago

Seasawher commented 1 month ago
Run /home/runner/work/_actions/oliver-butterley/lean-update/v1-alpha/scripts/getLatest.ps1
ForEach-Object: /home/runner/work/_actions/oliver-butterley/lean-update/v1-alpha/scripts/getLatest.ps1:10
Line |
  10 |  … $versions | ForEach-Object { [System.Management.Automation.SemanticVe …
     |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Exception calling ".ctor" with "1" argument(s): "The input string '' was
     | not in a correct format."
Error: Process completed with exit code 1.

see: https://github.com/Seasawher/mathlib4-tactics/actions/runs/11176249532/job/31069206463

oliver-butterley commented 1 month ago

There was a release marked as revert_lake_changes. Did this cause the error because the semver sorting wasn't sufficiently robust for such? Was this a problem with the command ForEach-Object { $_ -replace '^v' }?

image

Seasawher commented 1 month ago

@oliver-butterley Thank you!!