Skip to content

Commit

Permalink
Retry download on error
Browse files Browse the repository at this point in the history
  • Loading branch information
jcapona committed Oct 31, 2023
1 parent d6d08d5 commit 35459b8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/create-usb-setup-file.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,11 @@ jobs:
version: '>= 363.0.0'

- name: Download updates file from GCS
run: |
gsutil -m cp "gs://${{ secrets.GCS_PACKAGES_UPLOAD_BUCKET }}/updates.tar.gz" .
uses: nick-fields/retry@v2
with:
timeout_minutes: 30
max_attempts: 10
command: gsutil -m cp "gs://${{ secrets.GCS_PACKAGES_UPLOAD_BUCKET }}/updates.tar.gz" .

- name: Prepare folder structure
run: |
Expand Down

0 comments on commit 35459b8

Please sign in to comment.