mirror of
https://github.com/actions-rs/cargo.git
synced 2024-11-14 05:26:33 +02:00
Hardcode cross version (0.1.14) due to cross bugs in a newer version
This commit is contained in:
parent
9feb414324
commit
4630dea632
2 changed files with 5 additions and 2 deletions
2
dist/index.js
vendored
2
dist/index.js
vendored
File diff suppressed because one or more lines are too long
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue