ci: retry install three times (#3924)

This commit is contained in:
Alex Yang
2023-08-23 13:22:04 -05:00
committed by GitHub
parent 834771878e
commit 4a003878e2
4 changed files with 14 additions and 24 deletions
+6 -2
View File
@@ -6,9 +6,13 @@ runs:
steps:
- name: 'Install @electron-forge/maker-dmg'
if: runner.os == 'macos'
shell: bash
uses: nick-fields/retry@v2
working-directory: ./apps/electron
run: yarn add @electron-forge/maker-dmg --dev
with:
timeout_minutes: 10
max_attempts: 3
retry_on: timeout
command: yarn add @electron-forge/maker-dmg --dev
env:
HUSKY: '0'
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: '1'