Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 26 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,19 @@ jobs:
- name: Install dependencies
run: npm ci

- name: Package app
run: npm run make
- name: Package app (retry on transient network failures)
run: |
for attempt in 1 2 3; do
if npm run make; then
exit 0
fi
if [ "$attempt" -lt 3 ]; then
echo "Packaging attempt $attempt failed; retrying after 15s..."
sleep 15
fi
done
echo "Packaging failed after 3 attempts."
exit 1
Comment on lines +69 to +79

- name: Upload Linux artifacts
uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -144,8 +155,19 @@ jobs:
- name: Install dependencies
run: npm ci

- name: Package app
run: npm run make
- name: Package app (retry on transient network failures)
run: |
for attempt in 1 2 3; do
if npm run make; then
exit 0
fi
if [ "$attempt" -lt 3 ]; then
echo "Packaging attempt $attempt failed; retrying after 15s..."
sleep 15
fi
done
echo "Packaging failed after 3 attempts."
exit 1

- name: Upload Linux artifacts
uses: actions/upload-artifact@v4
Expand Down
Loading