mirror of
https://github.com/taiki-e/install-action
synced 2026-09-14 20:13:27 +00:00
Support bpf-linker (#1950)
This commit is contained in:
@@ -119,15 +119,15 @@ case "$(uname -s)" in
|
||||
if ! type -P snap >/dev/null; then
|
||||
incompat_tools+=(valgrind)
|
||||
fi
|
||||
if ! type -P apt-get >/dev/null; then
|
||||
incompat_tools+=(cyclonedx)
|
||||
fi
|
||||
if [[ "${runner}" == 'ubuntu:14.04' ]]; then
|
||||
if ! type -P apt-get >/dev/null || [[ "${runner}" == 'ubuntu:14.04' ]]; then
|
||||
incompat_tools+=(cyclonedx)
|
||||
fi
|
||||
if [[ "${runner}" == 'almalinux:10'* ]]; then
|
||||
incompat_tools+=(cargo-deb) # no dpkg in package manager
|
||||
fi
|
||||
case "${runner}" in
|
||||
debian/eol:jessie-slim | ubuntu:14.04 | alpine:3.2) incompat_tools+=(bpf-linker) ;; # no zstd in package manager
|
||||
esac
|
||||
;;
|
||||
Darwin)
|
||||
host_os=macos
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"repository": "https://github.com/aya-rs/bpf-linker",
|
||||
"license_markdown": "[Apache-2.0](https://github.com/aya-rs/bpf-linker/blob/main/LICENSE-APACHE) OR [MIT](https://github.com/aya-rs/bpf-linker/blob/main/LICENSE-MIT)",
|
||||
"tag_prefix": "v",
|
||||
"version_range": ">= 0.10.4",
|
||||
"rust_crate": "${package}",
|
||||
"asset_name": "${package}-${rust_target}.tar.zst",
|
||||
"platform": {
|
||||
"x86_64_linux_musl": {},
|
||||
"x86_64_macos": {},
|
||||
"x86_64_windows": {
|
||||
"asset_name": "${package}-${rust_target_arch}-pc-windows-gnullvm.tar.zst"
|
||||
},
|
||||
"aarch64_linux_musl": {},
|
||||
"aarch64_macos": {},
|
||||
"aarch64_windows": {
|
||||
"asset_name": "${package}-${rust_target_arch}-pc-windows-gnullvm.tar.zst"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user