Skip to content

Commit

Permalink
Retry upload dw on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddavo committed Oct 6, 2023
1 parent ab19559 commit e155699
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/update-datasets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,11 @@ jobs:
- name: Install dao-scripts
run: pip install dao-scripts[upload]
- name: Upload dataset
run: dao-utils-upload-dw
uses: nick-fields/retry@v2
with:
command: dao-utils-upload-dw
max_attempts: 3
retry_wait_seconds: 60
env:
KAGGLE_USERNAME: ${{ secrets.KAGGLE_USERNAME }}
KAGGLE_KEY: ${{ secrets.KAGGLE_KEY }}
Expand Down

0 comments on commit e155699

Please sign in to comment.