From bb451fd5bd42da2367c2212d55c167d939f9f813 Mon Sep 17 00:00:00 2001 From: github-actions Date: Mon, 21 Oct 2024 16:49:52 -0400 Subject: [PATCH] curl --- .github/workflows/distro_tests.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/distro_tests.yml b/.github/workflows/distro_tests.yml index f8a20e6b4..e18e71031 100644 --- a/.github/workflows/distro_tests.yml +++ b/.github/workflows/distro_tests.yml @@ -21,8 +21,17 @@ jobs: run: | if [ -f /etc/os-release ]; then . /etc/os-release - if [ "$ID" = "alpine" ]; then + if [ "$ID" = "ubuntu" ] || [ "$ID" = "debian" ] || [ "$ID" = "kalilinux" ] || [ "$ID" = "parrotsec" ]; then + apt-get update + apt-get -y install curl + elif [ "$ID" = "alpine" ]; then apk add --no-cache bash gcc g++ musl-dev libffi-dev + elif [ "$ID" = "archlinux" ]; then + pacman -Syu --noconfirm curl + elif [ "$ID" = "fedora" ]; then + dnf install -y curl + elif [ "$ID" = "gentoo" ]; then + emerge --update --newuse curl fi fi