Skip to content
This repository was archived by the owner on Jul 18, 2023. It is now read-only.

Commit 58e36d0

Browse files
Add retry action
1 parent 688cac0 commit 58e36d0

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/update.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,8 @@ jobs:
1313
- uses: actions/checkout@v2
1414
- name: Set name in local git-config
1515
run: git config --local user.name "runner"
16-
- name: Run update script
17-
run: swift update.swift ${{ secrets.GITHUB_TOKEN }}
16+
- uses: nick-fields/retry@v2
17+
with:
18+
timeout_minutes: 5
19+
max_attempts: 3
20+
command: swift update.swift ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)