chore: update build yml file

This commit is contained in:
Wendong-Fan 2026-01-23 01:21:11 +08:00
parent fa9415b4d0
commit 1cb9d8a678
3 changed files with 26 additions and 2 deletions

View file

@ -89,7 +89,7 @@ jobs:
# Increase file descriptor limit to prevent EMFILE errors during signing
# This is needed because electron-builder signs all files recursively,
# and Python venvs contain thousands of files
ulimit -n 10240
ulimit -n 65536 || ulimit -n 10240
echo "File descriptor limit set to: $(ulimit -n)"
npm run build -- --arch ${{ matrix.arch }}
env:

View file

@ -92,7 +92,11 @@ jobs:
# Step for macOS builds with signing
- name: Build Release Files (macOS with signing)
if: runner.os == 'macOS'
run: npm run build -- --arch ${{ matrix.arch }}
run: |
# Increase file descriptor limit to prevent EMFILE errors during signing
ulimit -n 65536 || ulimit -n 10240
echo "File descriptor limit set to: $(ulimit -n)"
npm run build -- --arch ${{ matrix.arch }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CSC_LINK: ${{ secrets.CERT_P12 }}