Skip to content

Commit 21f4425

Browse files
authored
Implement retry on checkout.
1 parent ec91e1c commit 21f4425

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/reusable-ubuntu.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,12 @@ jobs:
3434
PYTHONSTRICTEXTENSIONBUILD: 1
3535
TERM: linux
3636
steps:
37-
- uses: actions/checkout@v4
37+
- uses: Wandalen/wretry.action@master
3838
with:
39-
persist-credentials: false
39+
action: actions/checkout@v4
40+
attempt_limit: 3
41+
with: |
42+
persist-credentials: false
4043
- name: Register gcc problem matcher
4144
run: echo "::add-matcher::.github/problem-matchers/gcc.json"
4245
- name: Install dependencies

0 commit comments

Comments
 (0)