fix: increase file descriptor limit for macOS build
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
10
.github/workflows/release.yml
vendored
10
.github/workflows/release.yml
vendored
@@ -64,6 +64,12 @@ jobs:
|
|||||||
run: pnpm run build:vite
|
run: pnpm run build:vite
|
||||||
|
|
||||||
# macOS specific steps
|
# macOS specific steps
|
||||||
|
- name: Increase file descriptor limit (macOS)
|
||||||
|
if: matrix.platform == 'mac'
|
||||||
|
run: |
|
||||||
|
ulimit -n 10240
|
||||||
|
echo "File descriptor limit increased to: $(ulimit -n)"
|
||||||
|
|
||||||
- name: Build macOS
|
- name: Build macOS
|
||||||
if: matrix.platform == 'mac'
|
if: matrix.platform == 'mac'
|
||||||
env:
|
env:
|
||||||
@@ -75,7 +81,9 @@ jobs:
|
|||||||
APPLE_ID: ${{ secrets.APPLE_ID }}
|
APPLE_ID: ${{ secrets.APPLE_ID }}
|
||||||
APPLE_APP_SPECIFIC_PASSWORD: ${{ secrets.APPLE_APP_SPECIFIC_PASSWORD }}
|
APPLE_APP_SPECIFIC_PASSWORD: ${{ secrets.APPLE_APP_SPECIFIC_PASSWORD }}
|
||||||
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
|
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
|
||||||
run: pnpm run package:mac
|
run: |
|
||||||
|
ulimit -n 10240
|
||||||
|
pnpm run package:mac
|
||||||
|
|
||||||
# Windows specific steps
|
# Windows specific steps
|
||||||
- name: Build Windows
|
- name: Build Windows
|
||||||
|
|||||||
Reference in New Issue
Block a user