mirror of
https://github.com/moonrepo/setup-rust.git
synced 2025-04-29 21:40:01 +00:00
Fix CI.
This commit is contained in:
parent
2b56f5e1e8
commit
36ecdbe15a
2 changed files with 7 additions and 4 deletions
3
index.ts
3
index.ts
|
@ -18,10 +18,9 @@ export async function installRustup() {
|
|||
|
||||
core.info('rustup does not exist, attempting to install');
|
||||
|
||||
const scriptPath = path.join(os.tmpdir(), 'rustup-init');
|
||||
const script = await tc.downloadTool(
|
||||
process.platform === 'win32' ? 'https://win.rustup.rs' : 'https://sh.rustup.rs',
|
||||
scriptPath,
|
||||
path.join(os.tmpdir(), 'rustup-init'),
|
||||
);
|
||||
|
||||
core.info(`Downloaded installation script to ${script}`);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue