actions-rs / toolchain

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

Support multi toolchain like `stable, nightly`? #215

Open jmjoy opened 2 years ago

jmjoy commented 2 years ago

Do the checklist before filing an issue:

Motivation

Like components, which can specify multi item split by ,, it should be better to also support multi toolchain. In my scene, I often use cargo build in stable toolchain, and then use cargo +nighlty fmt in nightly toolchain, which need both toolchain installed.

Workflow example


      - name: Install Rust Stable
        uses: actions-rs/toolchain@v1
        with:
          toolchain: stable, nightly
          override: true
          components: rustfmt```