diff --git a/.gitea/workflows/homelab-main.yml b/.gitea/workflows/homelab-main.yml index 41c653d..20031c8 100644 --- a/.gitea/workflows/homelab-main.yml +++ b/.gitea/workflows/homelab-main.yml @@ -15,13 +15,14 @@ jobs: run: | set -e apt-get update - apt-get install -y curl git python3-pip python3-yaml + apt-get install -y wget ca-certificates git python3-pip python3-yaml - # Install Go 1.23 - curl -fsSL https://go.dev/dl/go1.23.0.linux-amd64.tar.gz | tar -C /usr/local -xzf - + # Install Go 1.23 using wget with retries + wget --retry-connrefused --waitretry=1 --read-timeout=20 --timeout=15 -t 5 https://go.dev/dl/go1.23.0.linux-amd64.tar.gz -O /tmp/go1.23.0.linux-amd64.tar.gz + tar -C /usr/local -xzf /tmp/go1.23.0.linux-amd64.tar.gz # Install Node 18 - curl -fsSL https://deb.nodesource.com/setup_18.x | bash - + wget -qO- https://deb.nodesource.com/setup_18.x | bash - apt-get install -y nodejs - name: Check out repository run: | @@ -44,13 +45,14 @@ jobs: run: | set -e apt-get update - apt-get install -y curl git python3-pip python3-yaml + apt-get install -y wget ca-certificates git python3-pip python3-yaml - # Install Go 1.23 - curl -fsSL https://go.dev/dl/go1.23.0.linux-amd64.tar.gz | tar -C /usr/local -xzf - + # Install Go 1.23 using wget with retries + wget --retry-connrefused --waitretry=1 --read-timeout=20 --timeout=15 -t 5 https://go.dev/dl/go1.23.0.linux-amd64.tar.gz -O /tmp/go1.23.0.linux-amd64.tar.gz + tar -C /usr/local -xzf /tmp/go1.23.0.linux-amd64.tar.gz # Install Node 18 - curl -fsSL https://deb.nodesource.com/setup_18.x | bash - + wget -qO- https://deb.nodesource.com/setup_18.x | bash - apt-get install -y nodejs - name: Check out repository run: |