diff --git a/.github/workflows/publish-linux.yml b/.github/workflows/publish-linux.yml index c2d554c9c..8c0b11ffb 100644 --- a/.github/workflows/publish-linux.yml +++ b/.github/workflows/publish-linux.yml @@ -35,5 +35,19 @@ jobs: command: | npm run postinstall npm run build - npm exec electron-builder -- --publish always --linux --arm64 + npm exec electron-builder -- --publish always --linux + on_retry_command: npm cache clean --force + + - name: Publish releases (arm64) + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + uses: nick-invision/retry@v2.8.2 + with: + timeout_minutes: 30 + max_attempts: 3 + retry_on: error + command: | + npm run postinstall + npm run build + npm exec electron-builder -- --publish always --linux on_retry_command: npm cache clean --force