Hardcode cross version (0.1.14) due to cross bugs in a newer version

This commit is contained in:
svartalf 2019-09-13 10:29:54 +03:00
parent 9feb414324
commit 4630dea632
2 changed files with 5 additions and 2 deletions

2
dist/index.js vendored

File diff suppressed because one or more lines are too long

View file

@ -12,7 +12,10 @@ async function getCross(): Promise<string> {
} }
try { try {
await exec.exec('cargo', ['install', 'cross']); // Latest `cross` (0.1.15) is kinda broken right now,
// using hardcoded version till the fix lands
// https://github.com/rust-embedded/cross/issues/306
await exec.exec('cargo', ['install', '--version', '0.1.14', 'cross']);
} catch (error) { } catch (error) {
core.setFailed(error.message); core.setFailed(error.message);
} }