mirror of
https://github.com/taiki-e/install-action.git
synced 2026-05-05 12:40:27 +00:00
Support cargo-apple-runner (#1731)
This commit is contained in:
@@ -150,6 +150,10 @@ for manifest in tools/codegen/base/*.json; do
|
||||
fi
|
||||
case "${host_os}" in
|
||||
linux*)
|
||||
# cargo-apple-runner is not supported on Linux
|
||||
if [[ "${tool_name}" == "cargo-apple-runner" ]]; then
|
||||
continue
|
||||
fi
|
||||
if [[ "${host_arch}" != "x86_64" ]] && [[ "$(jq -r --arg p "${host_arch}_${host_os}_gnu" '.platform[$p]' "${manifest}")" == "null" ]] && [[ "$(jq -r --arg p "${host_arch}_${host_os}_musl" '.platform[$p]' "${manifest}")" == "null" ]]; then
|
||||
continue
|
||||
fi
|
||||
|
||||
11
tools/codegen/base/cargo-apple-runner.json
Normal file
11
tools/codegen/base/cargo-apple-runner.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"repository": "https://github.com/madsmtm/cargo-apple-runner",
|
||||
"license_markdown": "[Zlib](https://github.com/madsmtm/cargo-apple-runner/blob/main/LICENSE-ZLIB.txt) OR [Apache-2.0](https://github.com/madsmtm/cargo-apple-runner/blob/main/LICENSE-APACHE.txt) OR [MIT](https://github.com/madsmtm/cargo-apple-runner/blob/main/LICENSE-MIT.txt)",
|
||||
"tag_prefix": "v",
|
||||
"rust_crate": "${package}",
|
||||
"asset_name": "${package}-${rust_target}.tar.gz",
|
||||
"platform": {
|
||||
"x86_64_macos": {},
|
||||
"aarch64_macos": {}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user