Skip to content

How can I specify the rust toolchain? #1

@nathan-at-least

Description

@nathan-at-least

I have hit this nightly-specific error while installing mdbook, so the simplest work-around I would like to try is installing mdbook with cargo stable.

I didn't see any input option for selecting a toolchain. I tried setting the ambient default in a step prior to using this action, ala:

steps:                                                                                                                         
  - name: Select rust stable                                                                                                                                                   
    run: rustup default stable                                                                                                                                                 
  - uses: taiki-e/cache-cargo-install-action@v1                                                                                                                                
    with:                                                                                                                                                                      
      tool: mdbook@0.4.19

-however I run into the same error.

Questions:

  • Is there a way to verify which toolchain is used in the action?
  • Is there a way to specify the stable toolchain?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions