diff --git a/.github/workflows/nightly_run.yml b/.github/workflows/nightly_run.yml index c83734d689..4664ad636f 100644 --- a/.github/workflows/nightly_run.yml +++ b/.github/workflows/nightly_run.yml @@ -279,7 +279,12 @@ jobs: uses: actions/checkout@v3 - name: Install dependencies - run: apt update && apt install -y make g++-4.8 gcc-4.8 wget git + uses: nick-fields/retry@v2 + with: + timeout_minutes: 10 + max_attempts: 3 + command: apt update && apt install -y make g++-4.8 gcc-4.8 wget git + on_retry_command: sudo rm -r /var/lib/apt/lists/* - name: Install cmake run: |