actions-rs / toolchain

🛠️ GitHub Action for `rustup` commands
https://github.com/marketplace/actions/rust-toolchain
MIT License
585 stars 86 forks source link

version number is not correctly formatted errors #227

Open brianmay opened 1 year ago

brianmay commented 1 year ago

Description

Random errors running this action.

Workflow code

      - name: Setup | Rust
        uses: actions-rs/toolchain@v1

https://github.com/brianmay/fishtank-rust/blob/main/.github/workflows/ci.yml

Action output

jq: error (at <stdin>:1): Cannot index string with string "prerelease"
ERROR: version number is not correctly formatted: 
Error: Process completed with exit code 1.

See https://github.com/brianmay/fishtank-rust/actions/runs/3993752512/jobs/6850748774

Expected behavior

Should not fail.

Additional context

If I restart the failed jobs it is likely to succeed.