Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specifying rust version #55

Closed
Yakiyo opened this issue Oct 26, 2022 · 2 comments
Closed

Specifying rust version #55

Yakiyo opened this issue Oct 26, 2022 · 2 comments

Comments

@Yakiyo
Copy link

Yakiyo commented Oct 26, 2022

Hi im trying to use the action to build and upload my rust app. I locally use rust 1.64 and the action is using rust 1.60 which is making my build failed. How do i set the version to 1.64? is it possible.

@kolemikko
Copy link
Contributor

You can define the toolchain version by using TOOLCHAIN_VERSION variable.
For example setting the toolchain to be latest stable (1.64) would be:

    uses: rust-build/[email protected]
      with:
        TOOLCHAIN_VERSION: stable

@Yakiyo
Copy link
Author

Yakiyo commented Oct 30, 2022

I found out about the tool chain version later on after making this issue. thought there were some problems in the beginning, something about it trying to download rust but got 404 errors or something but it got fixed later on. Now its working fine. ll close this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants