-
Notifications
You must be signed in to change notification settings - Fork 13
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
rustup and interfaction with Swatinem/rust-cache #23
Comments
Oh, that's a good question. I didn't actually notice this in the rust-cache docs! I've been using it the wrong way, I guess. See https://github.com/houseabsolute/ubi/blob/master/.github/workflows/ci.yml for an example. It seems to be caching something. My guess is that it's using the rust version installed on the Actions image. I think the only way to fix this is to have actions-rust-cross integrate rust-cache. That's not very hard to do, so I'll look into that soon. |
That would be great! Supporting rust-cache would give houseabsolute/actions-rust-cross a feature over https://github.com/taiki-e/setup-cross-toolchain-action |
So I looked into this a little more. I think that I'm not sure how to fix this. The "obvious" solution would be to tell I tried capturing the output from the correct So I'm a bit stumped on this one. If there was a way to get the right |
Hi, I am wondering how to use this properly with
Swatinem/rust-cache
. The README saysactions-rust-cross/README.md
Lines 89 to 93 in ad283b2
However,
Swatinem/rust-cache
README sayshttps://github.com/Swatinem/rust-cache/blob/9bdad043e88c75890e36ad3bbc8d27f0090dd609/README.md?plain=1#L11-L12
I see that
houseabsolute/actions-rust-cross
callsdtolnay/rust-toolchain@master
, which is a wrapper aroundrustup
actions-rust-cross/action.yml
Lines 43 to 46 in d788e00
So if you have something like
What ends up happening is
rustup
gets executed beforeSwatinem/rust-cache
The text was updated successfully, but these errors were encountered: