mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-20 20:48:43 +00:00
17 lines
424 B
Text
17 lines
424 B
Text
if ($ref | startswith("refs/tags/v")) then {
|
|
output: "release",
|
|
profile: "release",
|
|
args: ($matrix.release_build_args // ""),
|
|
} else {
|
|
output: "debug",
|
|
profile: "dev",
|
|
args: ($matrix.debug_build_args // ""),
|
|
} end
|
|
|
|
|
{
|
|
CTOOL: (if $matrix."use-cross" then "cross" else "cargo" end),
|
|
COUTPUT: .output,
|
|
CARGS: "--target \($matrix.target) --profile \(.profile) \(.args)",
|
|
}
|
|
|
|
|
to_entries[] | "\(.key)=\(.value)"
|