This commit is contained in:
Miles Johnson 2023-08-01 15:21:21 -07:00
parent 2b56f5e1e8
commit 36ecdbe15a
2 changed files with 7 additions and 4 deletions

View file

@ -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}`);