mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-05-04 11:10:02 +00:00
Stop using actions-rs (#239)
This commit is contained in:
parent
88b9aceb01
commit
ef2752cd42
3 changed files with 44 additions and 35 deletions
17
ci-scripts/compile-settings.jq
Normal file
17
ci-scripts/compile-settings.jq
Normal file
|
@ -0,0 +1,17 @@
|
|||
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)"
|
Loading…
Add table
Add a link
Reference in a new issue