Skip to content

Commit

Permalink
Add retries to flaky step
Browse files Browse the repository at this point in the history
  • Loading branch information
Maksim Litskevich committed Jun 21, 2023
1 parent 8797c75 commit f11809b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/nightly_run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit f11809b

Please sign in to comment.