mirror of
https://github.com/actions-rs/cargo.git
synced 2024-12-22 15:45:49 +02:00
Fix for cross installation.
Do not exit immediately, if cross usage is required, but cross executable was not found before the installation.
This commit is contained in:
parent
eadeb9d8b9
commit
ae10961054
2 changed files with 1 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
|
@ -32,7 +32,6 @@ async function getCross(cargoPath: string): Promise<string> {
|
||||||
return await io.which('cross', true);
|
return await io.which('cross', true);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
core.debug('Unable to find cross, installing it now');
|
core.debug('Unable to find cross, installing it now');
|
||||||
throw error;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Somewhat new Rust is required to compile `cross`
|
// Somewhat new Rust is required to compile `cross`
|
||||||
|
|
Loading…
Reference in a new issue