mirror of
https://github.com/taiki-e/install-action.git
synced 2026-05-09 22:30:28 +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:
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@@ -207,7 +207,7 @@ jobs:
|
|||||||
- run: rm -- Cargo.toml
|
- run: rm -- Cargo.toml
|
||||||
- name: Generate tool list
|
- name: Generate tool list
|
||||||
id: tool-list
|
id: tool-list
|
||||||
run: tools/ci/tool-list.sh >>"${GITHUB_OUTPUT}"
|
run: tools/ci/tool-list.sh "" "${{ matrix.container }}" >>"${GITHUB_OUTPUT}"
|
||||||
# remove bash installed by checkout-action
|
# remove bash installed by checkout-action
|
||||||
- run: apk --no-cache del bash
|
- run: apk --no-cache del bash
|
||||||
shell: sh
|
shell: sh
|
||||||
|
|||||||
@@ -62,6 +62,7 @@ case "${1:-}" in
|
|||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
runner="${2:-}"
|
||||||
case "$(uname -s)" in
|
case "$(uname -s)" in
|
||||||
Linux)
|
Linux)
|
||||||
host_os=linux
|
host_os=linux
|
||||||
@@ -111,6 +112,9 @@ case "$(uname -s)" in
|
|||||||
if ! type -P apt-get >/dev/null; then
|
if ! type -P apt-get >/dev/null; then
|
||||||
incompat_tools+=(cyclonedx)
|
incompat_tools+=(cyclonedx)
|
||||||
fi
|
fi
|
||||||
|
if [[ "${runner}" == "ubuntu:14.04" ]]; then
|
||||||
|
incompat_tools+=(cyclonedx)
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
Darwin) host_os=macos ;;
|
Darwin) host_os=macos ;;
|
||||||
MINGW* | MSYS* | CYGWIN* | Windows_NT) host_os=windows ;;
|
MINGW* | MSYS* | CYGWIN* | Windows_NT) host_os=windows ;;
|
||||||
|
|||||||
Reference in New Issue
Block a user