From f37fce4f929354ec35d0d26cb3a801037cfeeea9 Mon Sep 17 00:00:00 2001 From: bugattiguy527 Date: Wed, 29 Oct 2025 23:32:00 -0500 Subject: [PATCH] fix: linux not building x64 --- .github/workflows/electron.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/electron.yml b/.github/workflows/electron.yml index 36b41225..e0979171 100644 --- a/.github/workflows/electron.yml +++ b/.github/workflows/electron.yml @@ -154,17 +154,16 @@ jobs: - name: Install dependencies run: | - rm -f package-lock.json - # Retry npm install up to 3 times on failure + # Retry npm ci up to 3 times on failure for i in 1 2 3; do - if npm install; then + if npm ci; then break else if [ $i -eq 3 ]; then - echo "npm install failed after 3 attempts" + echo "npm ci failed after 3 attempts" exit 1 fi - echo "npm install attempt $i failed, retrying in 10 seconds..." + echo "npm ci attempt $i failed, retrying in 10 seconds..." sleep 10 fi done