Merge pull request #8 from softprops/self-update

update rustup before for reliable nightly toolchain tool availability
This commit is contained in:
Héctor Ramón
2019-10-27 18:30:23 +01:00
committed by GitHub

View File

@@ -14,6 +14,10 @@ export async function install() {
core.debug('rustup is located under: ' + toolPath);
core.addPath(path.join(toolPath, 'bin'));
} else {
// update the GitHub managed VM version of rustup
// to leverage newer features like "latest latest compatible nightly"
await exec.exec('rustup', ['self', 'update']);
}
}