This commit is contained in:
@@ -14,6 +14,27 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: https://gitea.nikitapozd.dev/actions/checkout@v6
|
||||
|
||||
- name: Install tools (curl, jq) with hard timeouts
|
||||
shell: bash
|
||||
run: |
|
||||
set -euxo pipefail
|
||||
|
||||
# Диагностика куда резолвится:
|
||||
getent ahosts deb.debian.org || true
|
||||
|
||||
# apt: только IPv4 + короткие таймауты + минимум ретраев
|
||||
timeout 60s apt-get update \
|
||||
-o Acquire::ForceIPv4=true \
|
||||
-o Acquire::Retries=1 \
|
||||
-o Acquire::http::Timeout=10 \
|
||||
-o Acquire::https::Timeout=10
|
||||
|
||||
timeout 60s apt-get install -y curl jq \
|
||||
-o Acquire::ForceIPv4=true \
|
||||
-o Acquire::Retries=1 \
|
||||
-o Acquire::http::Timeout=10 \
|
||||
-o Acquire::https::Timeout=10
|
||||
|
||||
- name: Install tools (curl, jq) with timeout
|
||||
run: |
|
||||
set -eux
|
||||
|
||||
Reference in New Issue
Block a user