mirror of
https://github.com/taiki-e/install-action.git
synced 2026-05-10 22:50:32 +00:00
Workaround archlinux jq failure
This commit is contained in:
committed by
Taiki Endo
parent
4306070abe
commit
feb3c20d8e
4
main.sh
4
main.sh
@@ -507,6 +507,10 @@ case "${host_os}" in
|
|||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
if ! type -P jq &>/dev/null; then
|
if ! type -P jq &>/dev/null; then
|
||||||
|
# https://github.com/taiki-e/install-action/issues/521
|
||||||
|
if [[ "${base_distro}" == "arch" ]]; then
|
||||||
|
sys_packages+=(glibc)
|
||||||
|
fi
|
||||||
sys_packages+=(jq)
|
sys_packages+=(jq)
|
||||||
fi
|
fi
|
||||||
sys_install "${sys_packages[@]}"
|
sys_install "${sys_packages[@]}"
|
||||||
|
|||||||
Reference in New Issue
Block a user