Skip to content

Commit

Permalink
Use nick-fields/retry action to work around intermittent ForgeGradle …
Browse files Browse the repository at this point in the history
…asset download failures
  • Loading branch information
object-Object committed Jul 13, 2024
1 parent 61fb791 commit 6fdb344
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,14 @@ jobs:
chmod +x gradlew
./gradlew build
# ForgeGradle datagen asset download often fails (see #692)
# so just allow it to automatically retry a few times
- name: Run Datagen
run: ./gradlew runAllDatagen
uses: nick-fields/retry@v3
with:
timeout_minutes: 10
max_attempts: 3
command: ./gradlew runAllDatagen

- name: Check Datagen
run: |
Expand Down

0 comments on commit 6fdb344

Please sign in to comment.