mirror of
https://github.com/taiki-e/install-action.git
synced 2026-04-21 15:10:27 +00:00
ci: Exclude cyclonedx on Ubuntu 14.04
``` + cyclonedx --version cyclonedx: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by cyclonedx) cyclonedx: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by cyclonedx) ```
This commit is contained in:
@@ -62,6 +62,7 @@ case "${1:-}" in
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
runner="${2:-}"
|
||||
case "$(uname -s)" in
|
||||
Linux)
|
||||
host_os=linux
|
||||
@@ -111,6 +112,9 @@ case "$(uname -s)" in
|
||||
if ! type -P apt-get >/dev/null; then
|
||||
incompat_tools+=(cyclonedx)
|
||||
fi
|
||||
if [[ "${runner}" == "ubuntu:14.04" ]]; then
|
||||
incompat_tools+=(cyclonedx)
|
||||
fi
|
||||
;;
|
||||
Darwin) host_os=macos ;;
|
||||
MINGW* | MSYS* | CYGWIN* | Windows_NT) host_os=windows ;;
|
||||
|
||||
Reference in New Issue
Block a user