Stop using actions-rs (#239)

This commit is contained in:
Félix Saparelli 2022-07-24 15:37:41 +12:00 committed by GitHub
parent 88b9aceb01
commit ef2752cd42
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 44 additions and 35 deletions

View 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)"