From 118a9f32573f62c4233da2a1ffd4eefbfe5991cf Mon Sep 17 00:00:00 2001 From: jeffvli Date: Wed, 13 Dec 2023 20:32:03 -0800 Subject: [PATCH] Separate regular and arm64 build --- .github/workflows/publish-linux.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-linux.yml b/.github/workflows/publish-linux.yml index c2d554c9..8c0b11ff 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